Skip to content

Commit

Permalink
chore(ci): Cache fixture builds of integration test (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid authored Jul 12, 2024
1 parent 086f28c commit 22d2dd7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
- uses: actions/checkout@v4
- name: nixci
run: nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build --systems "github:nix-systems/${{ matrix.system }}"
# FIXME: This should run only darwin

# 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)
- name: Integration Test (preparation)
run: |
nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build "github:srid/haskell-multi-nix/c85563721c388629fa9e538a1d97274861bc8321" -- --no-link
nixci --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" build "github:juspay/services-flake/3d764f19d0a121915447641fe49a9b8d02777ff8" -- --no-link
- name: Integration Test
run: nix develop -c cargo test -F integration_test
run: |
git status
nix develop -c cargo test -F integration_test

0 comments on commit 22d2dd7

Please sign in to comment.