Skip to content

Commit

Permalink
ci: add GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
apotterri committed Mar 12, 2024
1 parent 27c72bd commit 926b185
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build
on:
pull_request:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python: ["3.11"]
include:
- python: "3.11"
tox_env: "py311-web"
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: |
python -m pip install --upgrade pip setuptools
pip install tox
- name: Test
run: |
tox -e ${{ matrix.tox_env }}

0 comments on commit 926b185

Please sign in to comment.