-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (26 loc) · 768 Bytes
/
tests.yml
File metadata and controls
28 lines (26 loc) · 768 Bytes
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: tests
on:
push:
branches: ["master"]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -r requirements-test.txt
# Install `update-conf.py` script to make it available to the
# 'test_script.py' test module.
- run: python setup.py develop
- run: make check
- run: sudo PATH=$PATH make test-with-coverage
- uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov