Create test.yaml

This commit is contained in:
Patrick762 authored and GitHub committed 2024-10-25 16:23:21 +02:00
1 parent edf5e87720
commit d61459c011
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
name: Unittests
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3
- name: Run unittests
run: python3 -m unittest discover -s tests -p "*_test.py"