use the new nix command in ci

This commit is contained in:
figsoda 2022-12-07 16:12:53 -05:00
parent 584d5e5e9b
commit 7e56fcd965

View File

@ -9,6 +9,6 @@ jobs:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- name: build
run: NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz nix-build
run: nix build
- name: Run tests
run: NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz nix-shell --command "py.test -s ."
run: nix develop -c pytest -s .