-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (39 loc) · 1.09 KB
/
test.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
name: Integration
on: pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest, windows-latest]
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- run: pip install tox
- run: tox -e py,optional-artifactory
docs:
runs-on: ubuntu-latest
name: Documentation python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- run: pip install tox
- run: tox -e docs
coverage:
name: Coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- run: pip install tox
- run: tox -e py,optional-artifactory,coverage-report
- name: Upload coverage to Codecov
uses: codecov/[email protected]