Skip to content

add strict flag

add strict flag #7

Workflow file for this run

name: Pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install python3-dev
python -m pip install --upgrade pip
poetry env use 3.10
poetry install --no-root
- name: Run pytest
run: |
poetry run pytest -s