diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4bafcd33..fad05e39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,15 +45,9 @@ jobs: ci_node_total: [4] ci_node_index: [0, 1, 2, 3] - env: - SELECTIVE_API_KEY: ${{ secrets.SELECTIVE_API_KEY }} - SELECTIVE_RUN_ID: ${{ github.run_id }} - SELECTIVE_RUN_ATTEMPT: ${{ github.run_attempt }} - SELECTIVE_RUNNER_ID: ${{ matrix.ci_node_index }} - PR_TITLE: ${{ github.event.pull_request.title }} - steps: - uses: actions/checkout@v4 + - name: Setup Ruby uses: ruby/setup-ruby@v1 with: @@ -83,6 +77,12 @@ jobs: chmod +x ./cc-test-reporter ./cc-test-reporter before-build + - name: Setup Selective + uses: selectiveci/setup-selective@v1 + with: + api-key: ${{ secrets.SELECTIVE_API_KEY }} + runner-id: ${{ matrix.ci_node_index }} + - name: RSpec Suite Run env: NODE_OPTIONS: --openssl-legacy-provider diff --git a/Gemfile.lock b/Gemfile.lock index c2592936..f4656ba3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -380,7 +380,7 @@ GEM sprockets (> 3.0) sprockets-rails tilt - selective-ruby-core (0.1.2-x86_64-linux) + selective-ruby-core (0.1.3-x86_64-linux) zeitwerk (~> 2.6.12) selective-ruby-rspec (0.1.0) selective-ruby-core