Skip to content

Commit 76af248

Browse files
committed
Try separating Windows stuff
1 parent 069475d commit 76af248

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
python-version: [3.7, 3.8]
21-
platform: [ubuntu-latest, windows-latest]
21+
platform: [ubuntu-latest]
2222

2323
runs-on: ${{ matrix.platform }}
2424

.github/workflows/windows-ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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

0 commit comments

Comments
 (0)