Skip to content

test-unit-required

test-unit-required #4

---
name: test-unit-required
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
unit-tests:
strategy:
fail-fast: false
matrix:
os:
- ubuntu
- macos
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
- {os: "macos", python-version: "3.7"}
runs-on: ${{ matrix.os }}-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
allow-prereleases: true
python-version: ${{ matrix.python-version }}
- name: Information
run: |
python3 -V
bin/skonfig -V
- name: Run unit tests
run: |
make unittest