netflow/.github/workflows/run_tests.yml
2023-01-30 13:56:48 +01:00

30 lines
605 B
YAML

name: Run Python unit tests
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
test-netflow:
runs-on: ubuntu-20.04
strategy:
matrix:
python:
- "3.5.3" # Debian Stretch
- "3.7.3" # Debian Buster
- "3.9.3" # Debian Bullseye
- "3.11.1" # Debian Bookworm
steps:
- uses: actions/checkout@v3
- name: Set up Python with pyenv
uses: gabrielfalcao/pyenv-action@v11
with:
default: "${{ matrix.python }}"
- name: Run Python unittests
run: python3 -m unittest