Skip to content

Commit f5b78e9

Browse files
committed
Use absolute paths for LLVM_PROFILE_FILE
1 parent a0b8b9e commit f5b78e9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/cron-ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,14 @@ jobs:
4545
- run: pipenv install
4646
working-directory: ./extra_tests
4747
- name: run snippets
48-
run: pipenv run pytest -v
48+
run: LLVM_PROFILE_FILE="$PWD/snippet-%p.profraw" pipenv run pytest -v
4949
working-directory: ./extra_tests
5050
env:
5151
RUSTPYTHON_TESTS_NOBUILD: 'true'
52-
LLVM_PROFILE_FILE: 'snippet-%p.profraw'
5352
- name: run cpython tests
54-
run: target/release/rustpython -m test -v
53+
run: LLVM_PROFILE_FILE="$PWD/regrtest.profraw" target/release/rustpython -m test -v
5554
env:
5655
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
57-
LLVM_PROFILE_FILE: 'regrtest.profraw'
5856
- name: prepare code coverage data
5957
run: |
6058
rusttool() {

0 commit comments

Comments
 (0)