chore: transfer flake8 to ruff #96
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
# Authored by Alexandra N. Walker <[email protected]> ☀️ | |
name: Tests | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
POETRY_VERSION: 1.5.1 | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run integration tests for protocols | |
run: | | |
docker-compose run tests tests/ | |
examples: | |
name: Check examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry==${{ env.POETRY_VERSION}} | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
cache: poetry | |
- name: Install dependencies | |
run: poetry install | |
- name: Run examples | |
run: | | |
poetry run pytest -m examples |