File tree Expand file tree Collapse file tree 3 files changed +45
-12
lines changed
Expand file tree Collapse file tree 3 files changed +45
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515jobs :
1616 build :
1717
18- runs-on : ubuntu-latest
19-
2018 strategy :
2119 matrix :
2220 python-version : [3.7, 3.8]
21+ platform : [ubuntu-latest]
22+
23+ runs-on : ${{ matrix.platform }}
2324
2425 steps :
2526 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Windows CI
4+
5+ on :
6+ push :
7+ branches : [master]
8+ pull_request :
9+ branches : [master]
10+ schedule :
11+ # * is a special character in YAML so you have to quote this string
12+ # Run at 1:00 every day
13+ - cron : ' 0 1 * * *'
14+
15+ jobs :
16+ build :
17+
18+ strategy :
19+ matrix :
20+ python-version : [3.7, 3.8]
21+ platform : [windows-latest]
22+
23+ runs-on : ${{ matrix.platform }}
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : " Set up Python"
28+ uses : actions/setup-python@v1
29+ with :
30+ python-version : ${{ matrix.python-version }}
31+
32+ - name : " Install dependencies"
33+ run : |
34+ python -m pip install --upgrade pip
35+ # We use '--ignore-installed' to avoid GitHub's cache which can cause
36+ # issues - we have seen packages from this cache be cause trouble with
37+ # pip-extra-reqs.
38+ python -m pip install --ignore-installed --upgrade --editable .[dev]
39+
40+ - name : " Run tests"
41+ run : |
42+ pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests tests/ --cov-report=xml
You can’t perform that action at this time.
0 commit comments