Skip to content

Commit b0c40e2

Browse files
committed
debug
1 parent be57c18 commit b0c40e2

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,29 @@ jobs:
2222
nix_path: nixpkgs=channel:nixpkgs-unstable
2323

2424
- name: Install Nix Packages
25-
run: nix-env -f shell.nix -i -A buildInputs
25+
run: |
26+
echo PATHs pre
27+
tr ':' '\n' <<<$PATH | tee path-pre
28+
tr ':' '\n' <<<$PYTHONPATH | tee pythonpath-pre
29+
env -0 | while IFS='=' read -r -d '' n v; do
30+
printf "%s\n" "$n"
31+
done | sort | tee envs-pre
32+
nix-env -f shell.nix -i -A buildInputs
33+
echo PATHs post
34+
tr ':' '\n' <<<$PATH | tee path-post
35+
tr ':' '\n' <<<$PYTHONPATH | tee pythonpath-post
36+
env -0 | while IFS='=' read -r -d '' n v; do
37+
printf "%s\n" "$n"
38+
done | sort | tee envs-post
39+
diff -u envs-pre envs-post
40+
diff -u path-pre path-post
41+
diff -u pythonpath-pre pythonpath-post
42+
43+
- name: Check Nix Packages
44+
run: |
45+
echo PATHs
46+
tr ':' '\n' <<<$PATH
47+
tr ':' '\n' <<<$PYTHONPATH
2648
2749
- name: Install Go tools
2850
run: make tools
@@ -31,7 +53,7 @@ jobs:
3153
run: make verify
3254

3355
- name: Non Go Formatters
34-
run: ./.github/workflows/formatters.sh
56+
run: nix-shell --run ./.github/workflows/formatters.sh
3557

3658
- name: Install ZFS
3759
run: sudo apt-get -y update && sudo apt-get -y install zfsutils-linux

0 commit comments

Comments
 (0)