Skip to content

Add GHA

Add GHA #1

Workflow file for this run

name: Test python

Check failure on line 1 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

`pull_requests` is not a valid event name
on:
pull_requests:
branches:
- master
- development
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: true
matrix:
py-ver: # Distro | EOL
- '3.7' # Debian 10 | 2024-06-30
- '3.8' # Ubuntu 20.04 | 2025-04
- '3.9' # Debian 11 | 2026-08-31
- '3.10' # Ubuntu 22.04 | 2027-04
- '3.11' # Debian 12 | 2028-06-30
- '3.12' # Ubuntu 24.04 | 2029-04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.py-ver }}
uses: actions/setup-python@v4
- name: Install Requirements
run: python -m pip install tox tox-gh-actions
- name: Tox
run: tox