Fix: Use mkDerivation with src instead of runCommand for test derivation #637
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "tests-nix-linux" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
platform: | |
- ubuntu-latest | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
install_url: "https://releases.nixos.org/nix/nix-2.17.1/install" | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v13 | |
with: | |
name: eigenvalue | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: "./run_tests.sh --no-cargo-build" | |
- run: "nix --version" | |
- run: "nix flake check" | |
- run: "nix run . -- --help" |