mirror of
https://github.com/zerotier/ztchooks-py.git
synced 2026-05-22 16:29:44 -07:00
github action for testing
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user