[pre-commit.ci] pre-commit autoupdate #76
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 | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Run tests | |
run: | | |
poetry run coverage run -m pytest tests | |
poetry run coverage report | |
- name: Run type checking | |
run: poetry run mypy pypi_browser |