Skip to content

Commit a572346

Browse files
authored
Update import_test.yml
1 parent fe37a7e commit a572346

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/import_test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Import app .py files
1+
name: Check for debug traces
22

33
on:
44
pull_request:
@@ -7,16 +7,23 @@ on:
77

88
jobs:
99
import-all:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v3
1515

16+
- name: Set up Python 3
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.9.2"
20+
21+
- name: Verify Python installation
22+
run: python3 --version
23+
1624
- name: Import app .py files
1725
run: |
1826
cd src/main/resources/scripts
19-
pwd
2027
echo "try:" > test.py
2128
echo " import archive_extract_reports" >> test.py
2229
echo " import cobertura" >> test.py
@@ -51,7 +58,5 @@ jobs:
5158
echo except: >> test.py
5259
echo " import sys " >> test.py
5360
echo " sys.exit(-1) " >> test.py
54-
55-
ls -la
5661
5762
python3 test.py

0 commit comments

Comments
 (0)