Skip to content

Commit a43e265

Browse files
committed
Don't test on windows
1 parent 4b83c91 commit a43e265

File tree

1 file changed

+37
-0
lines changed
  • ThinkPythonSolutions/.github/workflows

1 file changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches: [v3]
6+
pull_request:
7+
schedule:
8+
# Run on the first of every month
9+
- cron: "0 0 1 * *"
10+
workflow_dispatch:
11+
12+
jobs:
13+
tests:
14+
name: Tests (${{ matrix.os }}, Python ${{ matrix.python-version }})
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
# don't test on windows
19+
os: [ubuntu-latest, macos-latest]
20+
python-version: ["3.10"]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r requirements-dev.txt
34+
35+
- name: Run tests
36+
run: |
37+
make tests

0 commit comments

Comments
 (0)