-
-
Notifications
You must be signed in to change notification settings - Fork 166
43 lines (39 loc) · 1.17 KB
/
main.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
35
36
37
38
39
40
41
42
43
name: Tests (Linux)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Create html dir
run: mkdir -p html
- name: Check pip
run: pip --version
- name: Update pip
run: pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: poetry install
run: poetry install
- name: Integration tests
run: make integration-tests
- name: Integration tests (threaded)
run: make integration-tests-threaded
- name: Config environment variables tests
run: make env-test
- name: Unit tests
run: make unit-test
- name: Network logger tests
run: make network-test
- name: Output coverage report
run: poetry run coverage xml -i
- uses: codecov/codecov-action@v3