mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-04 21:04:01 +03:00
Set PYTHONPATH environment variable for test execution in workflows
This commit is contained in:
@@ -27,6 +27,8 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest
|
pip install pytest
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
PYTHONPATH: ${{ github.workspace }}
|
||||||
run: pytest
|
run: pytest
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ jobs:
|
|||||||
python -m pip install pytest
|
python -m pip install pytest
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
PYTHONPATH: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user