Bump idna from 3.6 to 3.7 #7
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: Code Quality | |
on: [push] | |
jobs: | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
env: | |
COVERAGE: 90 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: pyproject.toml | |
- name: Install Poetry | |
uses: snok/[email protected] | |
with: | |
version: 1.8.2 | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-1.7.1-${{ hashFiles('**/poetry.lock') }} | |
- name: Install dependencies | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
run: poetry install --no-interaction --no-root | |
- name: Install library | |
run: poetry install --no-interaction | |
# - name: Check coverage | |
# run: poetry run pytest --cov=smyth --cov-fail-under=${{ env.COVERAGE }} src | |
- name: mypy | |
run: poetry run mypy src | |
Ruff: | |
name: Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Ruff Check | |
uses: jpetrucciani/ruff-check@main | |
with: | |
path: "." |