Skip to content

Commit

Permalink
Remove nix-based CI unit testing until a GPU runner is available
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-arkinstall committed Jul 31, 2024
1 parent 332ed92 commit 8aac308
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/build-with-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,18 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build pytket-cutensornet
run: nix build --accept-flake-config
test:
needs: build
runs-on: nixos-gpu
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- uses: cachix/cachix-action@v15
with:
name: tket
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Test pytket-cutensornet
run: nix run .#tests --accept-flake-config
#
# need GPU runners for this
#
#test:
# needs: build
# runs-on: nixos-gpu
# steps:
# - uses: actions/checkout@v4
# - uses: cachix/install-nix-action@V27
# - uses: cachix/cachix-action@v15
# with:
# name: tket
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - name: Test pytket-cutensornet
# run: nix run .#tests --accept-flake-config

0 comments on commit 8aac308

Please sign in to comment.