Skip to content

Commit b9c61f0

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

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ 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: Rust tests
29-
run: nix develop --command bash -lc 'just cargo-test'
29+
run: nix develop ./nix --command bash -lc 'just cargo-test'
3030

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

3434
coverage:
3535
name: Coverage (Python 3.12)
@@ -49,17 +49,17 @@ jobs:
4949
experimental-features = nix-command flakes
5050
5151
- name: Prepare dev environment (Python 3.12)
52-
run: nix develop --command bash -lc 'just venv 3.12 dev'
52+
run: nix develop ./nix --command bash -lc 'just venv 3.12 dev'
5353

5454
- name: Collect coverage
5555
id: coverage-run
56-
run: nix develop --command bash -lc 'just coverage'
56+
run: nix develop ./nix --command bash -lc 'just coverage'
5757

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

0 commit comments

Comments
 (0)