fix: acquire locks in shutdown loop #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.py' | |
- '**.json' | |
- 'tox.ini' | |
- '.github/workflows/maintests.yml' | |
- '.github/workflows/prtests.yml' | |
- '.github/workflows/release.yml' | |
- '.pre-commit-config.yaml' | |
- 'bridgeData_template.yaml' | |
- 'requirements.txt' | |
- 'requirements.dev.txt' | |
- 'requirements.docs.txt' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade -r requirements.dev.txt | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Run unit tests | |
run: tox -e tests-no-api-calls |