build(deps-dev): bump coverage from 7.4.1 to 7.4.2 #249
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Extract python version | |
id: python-version | |
run: | | |
python_version=$(grep '^python =' pyproject.toml | awk -F'"' '{print $2}') | |
echo "python-version=$python_version" >> $GITHUB_OUTPUT | |
- name: Set up python version | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ steps.python-version.outputs.python-version }} | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install dependencies | |
run: poetry install | |
- name: Run tests | |
run: poetry run pytest --cov-fail-under=100 | |
- name: Run linter | |
run: poetry run ruff . | |
- name: Run static type checker | |
run: poetry run mypy . |