Skip to content

Commit ce9ea3e

Browse files
committed
fix(ci): Fix regression of CI after I had moved flake.nix to ./nix
subfolder
1 parent 514e672 commit ce9ea3e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
extra_nix_config: |
2424
experimental-features = nix-command flakes
2525
- name: Prepare dev environment
26-
run: nix develop --command bash -lc 'just venv ${{matrix.python-version}} dev'
26+
run: nix develop ./nix --command bash -lc 'just venv ${{matrix.python-version}} dev'
2727

2828
- name: Verify recorder version metadata
29-
run: nix develop --command bash -lc 'python3 scripts/check_recorder_version.py'
29+
run: nix develop ./nix --command bash -lc 'python3 scripts/check_recorder_version.py'
3030

3131
- name: Rust tests
32-
run: nix develop --command bash -lc 'just cargo-test'
32+
run: nix develop ./nix --command bash -lc 'just cargo-test'
3333

3434
- name: Python tests
35-
run: nix develop --command bash -lc 'just py-test'
35+
run: nix develop ./nix --command bash -lc 'just py-test'
3636

3737
coverage:
3838
name: Coverage (Python 3.12)
@@ -52,17 +52,17 @@ jobs:
5252
experimental-features = nix-command flakes
5353
5454
- name: Prepare dev environment (Python 3.12)
55-
run: nix develop --command bash -lc 'just venv 3.12 dev'
55+
run: nix develop ./nix --command bash -lc 'just venv 3.12 dev'
5656

5757
- name: Collect coverage
5858
id: coverage-run
59-
run: nix develop --command bash -lc 'just coverage'
59+
run: nix develop ./nix --command bash -lc 'just coverage'
6060

6161
- name: Generate coverage comment
6262
if: steps.coverage-run.outcome == 'success'
6363
run: |
6464
ROOT="$(pwd)"
65-
nix develop --command bash -lc "python3 codetracer-python-recorder/scripts/generate_coverage_comment.py \
65+
nix develop ./nix --command bash -lc "python3 codetracer-python-recorder/scripts/generate_coverage_comment.py \
6666
--rust-summary codetracer-python-recorder/target/coverage/rust/summary.json \
6767
--python-json codetracer-python-recorder/target/coverage/python/coverage.json \
6868
--output codetracer-python-recorder/target/coverage/coverage-comment.md \

0 commit comments

Comments
 (0)