Skip to content

Commit f5fb10f

Browse files
committed
Split tests between generic and gevent-specific
1 parent 379eca2 commit f5fb10f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
pip install -e .[test]
2424
- name: Test with pytest
2525
run: |
26-
pytest --cov=flask_executor/ --cov-report=xml
26+
pytest --cov=flask_executor/ --cov-report=xml --ignore=test_gevent.py
27+
- name: Gevent-specific test with pytest
28+
run: |
29+
python -m gevent.monkey --module pytest tests/test_gevent.py
2730
- name: Upload coverage to Codecov
2831
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)