18 lines
436 B
YAML
18 lines
436 B
YAML
|
name: Python unit tests
|
||
|
run-name: ${{ gitea.actor }} is running unit tests
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
unittests:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Set up Python
|
||
|
uses: actions/setup-python@v5
|
||
|
with:
|
||
|
python-version: '3.13'
|
||
|
- name: Test with pytest
|
||
|
run: |
|
||
|
pip install unittest
|
||
|
python -m unittest
|