Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor lint/tests to run with github actions #1116

Merged
merged 85 commits into from
Sep 3, 2024
Merged

Conversation

rococodogs
Copy link
Member

No description provided.

@rococodogs rococodogs force-pushed the gh-actions-refactor branch from 5377127 to 656fe5c Compare August 21, 2024 14:38
@rococodogs rococodogs changed the title [wip] refactor lint/tests to run with github actions refactor lint/tests to run with github actions Aug 22, 2024
@rococodogs rococodogs marked this pull request as ready for review August 22, 2024 00:51
@rococodogs rococodogs merged commit 623668d into develop Sep 3, 2024
5 checks passed
@rococodogs rococodogs deleted the gh-actions-refactor branch September 3, 2024 16:28
@rococodogs rococodogs restored the gh-actions-refactor branch September 3, 2024 16:34
@rococodogs rococodogs mentioned this pull request Sep 3, 2024
@rococodogs rococodogs deleted the gh-actions-refactor branch September 3, 2024 18:26
rococodogs added a commit that referenced this pull request Sep 3, 2024
* first pass @ lint

* check compose version

* whoops

* put off docker compose until we can use our new .envs

* install test gems

* whoops

* use bundler-cache to kick off install

* pull circleci config

* restore circleci job to be noop

* fix circleci

* once more

* 🙃

* start breaking out test job

* first pass @ running tests

* solr first pass

* fix solr config path

* run test in ubuntu container to access network

* install system dependencies first

* sudo not found?

* split build into its own step

* fix needs

* update apt

* 🙃

* ok let's try using the dockerfile setup

* split rubo into its own :lint group

* try that manually

* cache lint gems

* it's always that one character

* ok maybe we need to be explicit

* try setting up the services before the app

* install chrome dependencies

* enable cloud mode for solr

* *sigh* let's try this again

* we're really not including curl with coreutils ok

* try solr using bitnami example config

* add solr auth

* *sigh* guess we need node after all

* skip lint while troubleshooting testsa

* postgres :(

* whoops

* try starting zookeeper before solr

* make sure chrome install path is in PATH

* try using WD_CHROME_PATH for webdrivers

* try stable channel of chrome

* restore lint check

* add code coverage report

* some niceties

* add titles

* clear out old (unused) tools

* use ruby/setup-ruby action for gems

* remove dev seeds for now

* revert :lint group changes

* revert gem install on test to our own caching

we need to update ruby before we can use the setup/ruby
gem inside the test

* put bundle config at the top of test

* update Gemfile.lock

* add firefox to gha

* use firefox / silence deprecations / rubo github output

* only require rspec-github if in CI

* newline

* omfg rubo

* try using firefox latest-esr

* add gtk3 package for firefox

* libgtk-3-0

* install recommends why not?

* fingers crossed

* .....

* fix rspec-github

* silence all warnings in CI runs via env

* add geckodriver

* add geckodriver to PATH

* i guess setup-geckodriver doesn't have exports

* maybe rspec-github isn't worth it

* sigh

* let's try

* i can't say the deprecation hiding was doing anything

* build 'develop' images on PR merge

* run lint_and_test before the release process

* don't run lint_and_test twice for prereleases

* try triggering reusable workflow on push as separate workflow

* use branches-ignore

* ?

* how about... ?

* permissions

* delete caches after closing branch

* names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant