Skip to content

Commit adca6c6

Browse files
Update python-app.yml
1 parent f8c3349 commit adca6c6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/python-app.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ jobs:
1313
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.11.8"
16+
- name: Set PYTHONPATH
17+
run: echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
1618
- name: Set up
1719
run: |
1820
mkdir test
1921
echo "print('OK')" > test/a.py
2022
mkdir test1
2123
echo "print('OK')" > test1/a.py
22-
- name: Run script
23-
working-directory: ./test
24-
run: python -m a
24+
- name: Run OK
25+
run: python -m test1.a
26+
- name: Run Fail
27+
run: python -m test.a

0 commit comments

Comments
 (0)