github action for testing

This commit is contained in:
Grant Limberg
2023-11-08 12:27:37 -08:00
parent 35c3a23a88
commit c28e994419
+19
View File
@@ -0,0 +1,19 @@
name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run Tests
run: python -m unittest ztchooks/hook.py