chore(deps): bump idna from 3.6 to 3.7 #37
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
on: | |
[push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.11', '3.12' ] | |
name: Run checks in Python ${{ matrix.python-version }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install Poetry | |
uses: snok/[email protected] | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
installer-parallel: true | |
- name: Install dependencies with Poetry | |
run: poetry install --no-interaction --no-root | |
- name: Check types with mypy | |
run: | | |
source .venv/bin/activate | |
mypy . | |
- name: Lint code with pylint and flake8 | |
run: | | |
source .venv/bin/activate | |
pylint barkr | |
flake8 --extend-exclude ".venv" | |
- name: Run tests with pytest | |
run: | | |
source .venv/bin/activate | |
pytest --cov=barkr --cov-fail-under=80 -vvv |