Skip to content

Add integration test that builds a project #71

Add integration test that builds a project

Add integration test that builds a project #71

Workflow file for this run

name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Lint with ruff
run: poetry run ruff check
- name: Check formatting with ruff
run: poetry run ruff format --check
- name: Typecheck with mypy
run: poetry run mypy --strict src
- name: Test with pytest
run: poetry run pytest tests