Skip to content

Commit 4501ad8

Browse files
authored
Add new versions, macOS, and a cron job to our CI (#137)
1 parent a591fb4 commit 4501ad8

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,31 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
schedule:
9+
# Midnight UTC:
10+
- cron: "0 0 * * *"
811

912
jobs:
1013

1114
test:
1215
runs-on: ${{ matrix.os }}
1316
name: ${{ matrix.os }} - ${{ matrix.python }}
1417
strategy:
18+
fail-fast: false
1519
matrix:
16-
os: [windows-latest, ubuntu-latest]
17-
python: [3.9]
20+
# Test all supported versions on Ubuntu:
21+
os: [ubuntu-latest]
22+
python: ["3.7", "3.8", "3.9", "3.10", 3.11-dev]
1823
include:
19-
- os: ubuntu-latest
20-
python: 3.6
21-
- os: ubuntu-latest
22-
python: 3.9
24+
# Also test PyPy, macOS, and Windows:
2325
- os: ubuntu-latest
2426
python: pypy3
27+
- os: macos-latest
28+
python: "3.10"
29+
# XXX: We should be testing 3.10, but for some reason setuptools can't
30+
# seem to find the runner's C compiler for new wheel builds...
2531
- os: windows-latest
32+
python: "3.9"
2633
steps:
2734
- uses: actions/checkout@v2
2835
- name: Set up Python ${{ matrix.python }}

0 commit comments

Comments
 (0)