-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (39 loc) · 1.22 KB
/
build.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
44
45
46
47
48
name: tests
on:
push
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Check files
run: |
dir
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black coverage flake8 flit mccabe mypy pylint pytest tox tox-gh-actions pillow requests
- name: Run tox
run: |
python -m tox -e py39
dir
- name: Upload raw coverage as artifact
uses: actions/upload-artifact@v2
with:
name: .coverage
path: .coverage
retention-days: 5
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
functionalities:
coveragepy