Skip to content

Commit

Permalink
Reenable functional tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Jun 15, 2024
1 parent 8a66c94 commit fa2b583
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,30 @@ jobs:
bundler-cache: true
- name: Run rubocop
run: bundle exec rake lint

functional:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.0", "ruby"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run functional tests
run: bundle exec rake test:functional

functional-all:
runs-on: ubuntu-latest
needs: [functional]
if: always()
steps:
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

0 comments on commit fa2b583

Please sign in to comment.