Bump the all-demo group in /demo with 2 updates #1143
Workflow file for this run
This file contains hidden or 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: test-performance | |
| on: | |
| pull_request: | |
| merge_group: | |
| branches: | |
| - main | |
| types: | |
| - checks_requested | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| concurrency: | |
| group: test-performance-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| FERRUM_PROCESS_TIMEOUT: 30 | |
| jobs: | |
| load-matrix: | |
| name: Load test matrix | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.set-matrix.outputs.matrix }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - id: set-matrix | |
| run: echo "matrix=$(cat .github/version-matrix.json | jq -c .)" >> $GITHUB_OUTPUT | |
| performance: | |
| name: Performance (${{ matrix.label }}) | |
| runs-on: ubuntu-latest | |
| needs: load-matrix | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: ${{ fromJson(needs.load-matrix.outputs.matrix) }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby_version }} | |
| bundler-cache: true | |
| cache-version: ${{ matrix.rails_version }}-${{ matrix.ruby_version }} | |
| - name: Build | |
| run: | | |
| bundle config unset deployment | |
| bundle install --jobs 4 --retry 3 | |
| env: | |
| RUBY_VERSION: ${{ matrix.ruby_version }} | |
| RAILS_VERSION: ${{ matrix.rails_version }} | |
| - name: Test | |
| run: | | |
| bundle exec rake test:performance | |
| env: | |
| RUBY_VERSION: ${{ matrix.ruby_version }} | |
| RAILS_VERSION: ${{ matrix.rails_version }} |