Skip to content

Commit 715f434

Browse files
authored
Modify pytest command to run tests individually
Run tests independently to enable tests over spark sessions.
1 parent c281cb8 commit 715f434

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/python-app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ jobs:
3838
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3939
- name: Test with pytest
4040
run: |
41-
pytest
41+
# run tests independently to enable tests using spark session
42+
for f in tests/test_*.py; do
43+
pytest -q "$f" || exit 1
44+
done

0 commit comments

Comments
 (0)