mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
Split the CI in several steps
This commit is contained in:
parent
55b46a5060
commit
38edf8a0b4
2 changed files with 42 additions and 4 deletions
11
scripts/list-tests-flake-outptus-for-gha
Executable file
11
scripts/list-tests-flake-outptus-for-gha
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
nix build --inputs-from . nixpkgs#jq -o jq
|
||||
|
||||
TEST_NAMES=$(nix flake show . --json | ./jq-bin/bin/jq -c ".checks[\"$(nix eval --raw --impure --expr builtins.currentSystem)\"] | keys")
|
||||
|
||||
|
||||
echo "::set-output name=json::$TEST_NAMES"
|
||||
Loading…
Add table
Add a link
Reference in a new issue