Skip to content

Commit 926b185

Browse files
committed
ci: add GH workflow
1 parent 27c72bd commit 926b185

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
on:
3+
pull_request:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
7+
jobs:
8+
build:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ ubuntu-latest, windows-latest, macos-latest ]
13+
python: ["3.11"]
14+
include:
15+
- python: "3.11"
16+
tox_env: "py311-web"
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python }}
23+
- name: Install tox
24+
run: |
25+
python -m pip install --upgrade pip setuptools
26+
pip install tox
27+
- name: Test
28+
run: |
29+
tox -e ${{ matrix.tox_env }}
30+

0 commit comments

Comments
 (0)