馃悰 Retry rv gem installs from configured sources #58
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: CI - runtime-heads | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| id-token: write | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| tags: | |
| - '!*' # Do not execute on tags | |
| pull_request: | |
| branches: | |
| - '*' | |
| # Allow manually triggering the workflow. | |
| workflow_dispatch: | |
| # Cancels all previous workflow runs for the same branch that have not yet completed. | |
| concurrency: | |
| # The concurrency group contains the workflow name and the branch name. | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| acceptance-tests: | |
| name: Acceptance Tests - Runtime Heads (Ruby ${{ matrix.ruby }}) | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['4.0'] | |
| experimental: [true] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Run setup-ruby-flash action | |
| uses: ./ | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| ore-install: true | |
| cache-version: 'v3' | |
| # Need GH Token Authenticated requests, switch once the feature is released | |
| rv-git-ref: 'main' | |
| # Build both ore and gemfile-go from main | |
| ore-git-ref: 'master' | |
| gfgo-git-ref: 'master' | |
| - name: Verify ore installation | |
| run: | | |
| echo "==> ore version:" | |
| ore --version | |
| echo "==> Installed gems:" | |
| ore list | |
| echo "==> ore check:" | |
| ore check | |
| - name: Run acceptance tests | |
| env: | |
| EXPECTED_RUBY_VERSION: ${{ matrix.ruby }} | |
| run: bundle exec rspec spec/acceptance/ |