default behavior was to silently log errors. #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
name: Pytest Workflow | |
# Triggers the workflow on push or pull request events for the main branch | |
on: | |
pull_request: | |
push: | |
branches: | |
- "**" | |
jobs: | |
test: | |
name: Run Pytest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.13' | |
- name: install poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: install pacakges | |
run: | | |
poetry config virtualenvs.in-project true | |
poetry install | |
- name: run pytest | |
run: | | |
poetry run pytest tests |