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 steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v3 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install unittest - name: Run unittests run: python3 -m unittest discover -s tests -p "*_test.py"