2025-01-24 13:15:28 +01:00
|
|
|
name: Python unit tests
|
|
|
|
run-name: ${{ gitea.actor }} is running unit tests
|
2025-01-24 13:32:23 +01:00
|
|
|
on: [push, workflow_dispatch]
|
2025-01-24 13:15:28 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
unittests:
|
2025-01-24 14:56:08 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: catthehacker/ubuntu:act-latest
|
2025-01-24 13:15:28 +01:00
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v5
|
2025-01-24 13:52:25 +01:00
|
|
|
with:
|
2025-01-24 14:56:08 +01:00
|
|
|
python-version: "3.13"
|
2025-01-24 13:17:19 +01:00
|
|
|
- name: Test with unittest
|
2025-01-24 13:49:27 +01:00
|
|
|
run: python -m unittest
|