-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (32 loc) · 970 Bytes
/
tests.yml
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
29
30
31
32
33
34
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
include:
- {name: Python 3.7, python: 3.7, os: ubuntu}
- {name: Python 3.8, python: 3.8, os: ubuntu}
- {name: Python 3.9, python: 3.9-dev, os: ubuntu}
- {name: Python 3.10, python: 3.10.0-beta - 3.10, os: ubuntu}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools fpdf2
- name: Test
run: |
python3 -m unittest test/test_brazil_fiscal_report.py
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3