Skip to content

Commit

Permalink
Test Windows failure reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 3, 2023
1 parent 3542f5a commit 8d8e740
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test suite

on:
push:
branches: [master]
branches: [master, winfail]
pull_request:

jobs:
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
- name: Install the project and its dependencies
run: pip install -e .[test]
- name: Test with pytest
run: |
coverage run -m pytest -v -m "not external_service"
coverage xml
run: coverage run -m pytest -v -m "not external_service"
- name: Generate coverage report
run: coverage xml
- name: Upload Coverage
uses: coverallsapp/github-action@v2
with:
Expand Down
1 change: 1 addition & 0 deletions tests/test_datastores.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ async def test_acquire_multiple_workers(datastore: DataStore) -> None:


async def test_job_release_success(datastore: DataStore) -> None:
pytest.fail("testing failures")
await datastore.add_task(
Task(id="task1", func="contextlib:asynccontextmanager", job_executor="async")
)
Expand Down

0 comments on commit 8d8e740

Please sign in to comment.