diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d3cdaa4..8ae3242 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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