Skip to content

Commit 93bc1f0

Browse files
committed
ci: add GH workflow
1 parent 27c72bd commit 93bc1f0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)