Skip to content

Commit 3824d54

Browse files
Update python-app.yml
1 parent 8539729 commit 3824d54

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-app.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
echo "print('OK')" > test/a.py
1717
mkdir test1
1818
echo "print('OK')" > test1/a.py
19+
- name: Extend PYTHONPATH
20+
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
1921
- name: Run OK
2022
run: python -m test1.a
2123
- name: Run Fail
22-
run: |
23-
python -c "from test import a"
24+
run: python -m test.a

0 commit comments

Comments
 (0)