Skip to content

Commit

Permalink
chore(ci): Cache fixture builds of integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jul 12, 2024
1 parent 086f28c commit 806a351
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ jobs:
run: nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build --systems "github:nix-systems/${{ matrix.system }}"
# FIXME: This should run only darwin
- name: Integration Test
run: nix develop -c cargo test -F integration_test
run: |
# First, build the repos used in the test to cache them locally, so as
# to avoid GitHub rate limits during the integration test (which
# doesn't use the token)
nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build "github:srid/haskell-multi-nix/c85563721c388629fa9e538a1d97274861bc8321"
nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build "github:juspay/services-flake/3d764f19d0a121915447641fe49a9b8d02777ff8"
nix develop -c cargo test -F integration_test

0 comments on commit 806a351

Please sign in to comment.