Skip to content

Commit 6a3bbb0

Browse files
committed
still messing with the tests
1 parent 883fa82 commit 6a3bbb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/check-py3-formatted-print.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Find formatted print(f"
1717
run: |
1818
echo "Searching for 'print\(f' in Python files..."
19-
grep -rn print\(f src/main/resources/scripts/*.py && exit 1 || echo "No occurrences found."
19+
grep -rn print\(f\" src/main/resources/scripts/*.py && exit 1 || echo "No occurrences found."

.github/workflows/import_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Import app .py files
1717
run: |
18-
echo cd src/main/resources/scripts
18+
cd src/main/resources/scripts
1919
echo "try:" > test.py
2020
echo " import archive_extract_reports" >> test.py
2121
echo " import cobertura" >> test.py
@@ -48,6 +48,7 @@ jobs:
4848
echo " import vcast_exec " >> test.py
4949
echo " import vcast_utils " >> test.py
5050
echo except: >> test.py
51+
echo " import sys " >> test.py
5152
echo " sys.exit(-1) " >> test.py
5253
5354
python3 test.py

0 commit comments

Comments
 (0)