Skip to content

Commit

Permalink
fixup! CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Feb 14, 2024
1 parent 760b233 commit f196064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
channel: [ nixos-23.11, nixpkgs-23.11-darwin ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -23,7 +22,8 @@
- name: Set up Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:${{ matrix.channel }}
# Use channel nixos-23.11 for Linux and nixpkgs-23.11-darwin for macOS
nix_path: nixpkgs=channel:${{ matrix.os == 'macos-latest' && 'nixpkgs-23.11-darwin' || 'nixos-23.11' }}

- name: Run tests
run: nix-shell --run "pytest"

0 comments on commit f196064

Please sign in to comment.