Update validator to check for cache only for specific TEST_SUIT_ID #269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rails-5-project | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
concurrency: | |
group: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}-rails-5 | |
cancel-in-progress: true | |
jobs: | |
main: | |
name: ruby-${{ matrix.ruby }} rspec-rails-${{ matrix.rspec-rails }} simplecov-0.${{ matrix.simplecov }}.0 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ '2.5', '2.6', '2.7' ] | |
rails: [ '5.2.6' ] | |
rspec-rails: [ '4.1.0', '5.0.0' ] | |
simplecov: [ 17, 18, 19, 20, 21 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install Dependencies | |
run: bundle install --jobs 3 --retry 3 | |
- name: Run Features | |
env: | |
RAILS_VERSION: "~> ${{ matrix.rails }}" | |
RSPEC_RAILS_VERSION: "~> ${{ matrix.rspec-rails }}" | |
SIMPLECOV_VERSION: "~> 0.${{ matrix.simplecov }}.0" | |
BRANCH_COVERAGE: "${{ matrix.simplecov >= 18 && 'true' || 'false' }}" | |
run: bundle exec cucumber --retry 1 --no-strict-flaky --tags @rails-app |