File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ continue-on-error : ${{ matrix.experimental }}
11+ name : Python ${{ matrix.python-version }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ python-version : [3.5, 3.6, 3.7, 3.8]
16+ experimental : [false]
17+ include :
18+ - python-version : 3.4
19+ experimental : true
20+ - python-version : 3.9-dev
21+ experimental : true
22+ - python-version : 3.10-dev
23+ experimental : true
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : Set up Python ${{ matrix.python-version }}
28+ uses : actions/setup-python@v2
29+ if : " !endsWith(matrix.python-version, '-dev')"
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+ - name : Set up Python ${{ matrix.python-version }}
33+ uses : deadsnakes/action@v1.0.0
34+ if : endsWith(matrix.python-version, '-dev')
35+ with :
36+ python-version : ${{ matrix.python-version }}
37+ - name : Installing dependencies Python ${{ matrix.python-version }}
38+ run : |
39+ pip install -r requirements.txt
40+ pip install codecov coverage
41+ - name : Running tests Python ${{ matrix.python-version }}
42+ run : |
43+ cd styleframe/tests/
44+ coverage run tests.py
45+ coverage xml
46+ - name : Uploading coverage Python ${{ matrix.python-version }}
47+ uses : codecov/codecov-action@v1
48+
You can’t perform that action at this time.
0 commit comments