add basic gh action tests

This commit is contained in:
kakwa 2024-03-13 00:06:44 +01:00
parent 242c9ab96e
commit de16df475f
1 changed files with 19 additions and 0 deletions

19
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Coverage
on:
push:
pull_request:
workflow_dispatch:
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install packages and setup ldap/AD
run: ./tests/test_env/deploy.sh
- name: Test
run: python3 setup.py test