Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Jan 28, 2025
1 parent be6c14b commit ccf8f53
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: bundle install
- uses: actions/upload-artifact@v4
with:
name: bundled-lockfile-${{ github.run_id }}-${{ matrix.engine.alias }}
retention-days: 1
path: |
Gemfile.lock
- id: set-matrix
run: |
matrix_json=$(bundle exec rake github:generate_matrix)
Expand All @@ -37,14 +43,14 @@ jobs:
echo "$matrix_json"
# Set the output
echo "${{ matrix.engine.alias }}=$matrix_json" >> $GITHUB_OUTPUT
- run: bundle exec rake dependency:install
- uses: actions/upload-artifact@v4
with:
name: bundled-dependencies-${{ github.run_id }}-${{ matrix.engine.alias }}
retention-days: 1
path: |
Gemfile.lock
/usr/local/bundle
# - run: bundle exec rake dependency:install
# - uses: actions/upload-artifact@v4
# with:
# name: bundled-dependencies-${{ github.run_id }}-${{ matrix.engine.alias }}
# retention-days: 1
# path: |
# /usr/local/bundle
test-ruby-33:
name: ruby-3.3 batch ${{ matrix.batch }}
needs:
Expand Down Expand Up @@ -80,7 +86,12 @@ jobs:
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/download-artifact@v4
with:
name: bundled-dependencies-${{ github.run_id }}-ruby-33
name: bundled-lockfile-${{ github.run_id }}-ruby-33
- uses: actions/download-artifact@v4
with:
# name: bundled-dependencies-${{ github.run_id }}-ruby-33
name: bundled-dependencies-13008221037-ruby-33
path: /usr/local/bundle
- run: bundle install
- name: Run batched tests
env:
Expand Down

0 comments on commit ccf8f53

Please sign in to comment.