File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,6 @@ jobs:
281281 run : |
282282 pip install -r requirements.d/pyinstaller.txt
283283 mkdir -p dist/binary
284- # Ensure locally built binaries in ./dist/binary are found during tox tests
285- echo "$GITHUB_WORKSPACE/dist/binary" >> "$GITHUB_PATH"
286284 pyinstaller --clean --distpath=dist/binary scripts/borg.exe.spec
287285
288286 - name : Smoke-test the built binary (${{ matrix.binary }})
@@ -331,6 +329,8 @@ jobs:
331329 run : |
332330 # do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
333331 #sudo -E bash -c "tox -e py"
332+ # Ensure locally built binary in ./dist/binary/borg-dir is found during tests
333+ export PATH="$GITHUB_WORKSPACE/dist/binary/borg-dir:$PATH"
334334 tox --skip-missing-interpreters
335335
336336 - name : Upload coverage to Codecov
@@ -594,9 +594,10 @@ jobs:
594594
595595 - name : Run tests
596596 run : |
597- ./dist/borg.exe -V
597+ # Ensure locally built binary in ./dist/binary/borg-dir is found during tests
598+ export PATH="$GITHUB_WORKSPACE/dist/binary/borg-dir:$PATH"
599+ borg.exe -V
598600 . env/bin/activate
599- borg -V
600601 python -m pytest -n4 --benchmark-skip -vv -rs -k "not remote"
601602
602603 - name : Upload coverage to Codecov
You can’t perform that action at this time.
0 commit comments