-
Notifications
You must be signed in to change notification settings - Fork 9
37 lines (35 loc) · 905 Bytes
/
ci.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
name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
validations:
name: Post-Test Checks
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
task: [docs, static]
include:
- task: static
posargs: --no-cache -o ./statue-report.json
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run Post-Test check
run: |
tox -e ${{ matrix.task }} -- ${{ matrix.posargs }}
- uses: actions/upload-artifact@v2
if: matrix.task == 'static'
with:
name: statue-report
path: ./statue-report.json