Skip to content

Commit

Permalink
Don't enforce system tests yet for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgoll committed May 30, 2024
1 parent e5c102e commit 6bca270
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,19 @@ jobs:
ruby-version: .ruby-version
bundler-cache: true

- name: Run tests and smoke test seed
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
- name: DB Smoke test
run: |
bin/rails db:create
bin/rails db:schema:load
bin/rails test
DISABLE_PARALLELIZATION=true bin/rails test:system
bin/rails db:seed
- name: Unit and integration tests
run: bin/rails test

- name: System tests
run: DISABLE_PARALLELIZATION=true bin/rails test:system
continue-on-error: true # TODO: Eventually we'll enforce for PRs

- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v4
if: failure()
Expand Down

0 comments on commit 6bca270

Please sign in to comment.