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 d645a1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
8 changes: 2 additions & 6 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,8 +22,5 @@ jobs:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Allow tests to run on Active Record head without failing the pipeline
run: bundle exec rspec || true
9 changes: 3 additions & 6 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,8 +23,5 @@ jobs:
ruby-version: head
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Allow tests to run on Ruby head without failing the pipeline
run: bundle exec rspec || true

0 comments on commit d645a1e

Please sign in to comment.