Don't crash on epy -r when stdout is filtered and interrupted. #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
paths: | |
- src/** | |
- tests/** | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- uses: abatilo/[email protected] | |
- name: Install Project | |
run: poetry install | |
- name: Run tests | |
run: | | |
poetry run coverage run -m pytest -vv tests | |
poetry run coverage report | |