mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-17 13:27:27 +03:00
use the new nix command in ci
This commit is contained in:
parent
584d5e5e9b
commit
7e56fcd965
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user