This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Bump pytest from 7.4.0 to 7.4.1 #33
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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11.x" | |
- name: setup poetry and pre-commit | |
run: | | |
pip install poetry | |
- name: setup application | |
run: | | |
poetry config virtualenvs.in-project true | |
poetry install --no-interaction | |
- name: run tests | |
run: | | |
poetry run pytest | |
- name: run linter | |
run: | | |
poetry run pre-commit run flake8 --all-files |