Skip to content

Commit

Permalink
Allow failure of tests with dev branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmhaig committed Jun 21, 2024
1 parent f32c545 commit 68a79b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/activerecord_head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -23,7 +22,8 @@ jobs:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
# Allow tests to run on Active Record head without failing the pipeline
run: bundle exec rspec || true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ruby_head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

jobs:
test:

runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
gemfile: [ activerecord_6.1, activerecord_7.0, activerecord_7.1 ]
Expand All @@ -23,7 +23,8 @@ jobs:
ruby-version: head
bundler-cache: true
- name: Run tests
run: bundle exec rspec
# Allow tests to run on Ruby head without failing the pipeline
run: bundle exec rspec || true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit 68a79b3

Please sign in to comment.