aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f59e744..ee508c9 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -3,10 +3,9 @@ name: Run Tests
on:
workflow_dispatch:
pull_request:
- types: [opened, reopened]
+ branches: [master]
push:
- branches:
- - master
+ branches: [master]
paths:
- epy.py
- tests/**
@@ -23,5 +22,7 @@ jobs:
- name: Install dev dependencies
run: poetry install --no-root
- name: Run tests
- run: poetry run python -m pytest -vv
+ run: |
+ poetry run coverage run --include=epy.py -m pytest -vv tests
+ poetry run coverage report