Create test.yaml
This commit is contained in:
1 parent
edf5e87720
commit
d61459c011
1 file changed
+20
@@ -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"
|
||||
Reference in new issue
Block a user