added link in readme to the .md with design docs on the db listener #115
Workflow file for this run
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: quality checks | |
on: push | |
jobs: | |
black-lint: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: pip install -r requirements-dev.txt | |
- run: black . --check | |
flake8-lint: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: pip install -r requirements-dev.txt | |
- run: flake8 . | |
pydocstyle-lint: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: pip install -r requirements-dev.txt | |
- run: pydocstyle src | |
unit-test-python-310: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
needs: [black-lint, flake8-lint, pydocstyle-lint] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: pip install -r requirements.txt | |
- run: pip install -r requirements-dev.txt | |
- run: pip install -e . | |
- run: coverage run -a -m pytest tests/unit | |
unit-test-python-311: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
needs: [ black-lint, flake8-lint, pydocstyle-lint ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- run: pip install -r requirements.txt | |
- run: pip install -r requirements-dev.txt | |
- run: pip install -e . | |
- run: coverage run -a -m pytest tests/unit | |
unit-test-python-312: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
needs: [ black-lint, flake8-lint, pydocstyle-lint ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- run: pip install -r requirements.txt | |
- run: pip install -r requirements-dev.txt | |
- run: pip install -e . | |
- run: coverage run -a -m pytest tests/unit | |