blob: 7d499cebb0c2c65fd8e46e97d4e91cf99018829b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: Run Tests
on:
workflow_dispatch:
pull_request:
branches: [master]
push:
branches: [master]
paths:
- epy.py
- tests/**
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.x"
- uses: abatilo/actions-poetry@v2.0.0
- name: Install Project
run: poetry install
- name: Run tests
run: |
poetry run coverage run -m pytest -vv tests
poetry run coverage report
|