Skip to content

Refactor the architecture to add support for running the test cases in subprocesses #118

Refactor the architecture to add support for running the test cases in subprocesses

Refactor the architecture to add support for running the test cases in subprocesses #118

Workflow file for this run

# SPDX-FileCopyrightText: 2019–2024 Pynguin Contributors
#
# SPDX-License-Identifier: MIT
name: CI
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
poetry-version: [1.8.4]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Run the hooks from pre-commit
run: poetry run pre-commit run --all-files
- name: Check typing with mypy
run: poetry run mypy
- name: Run tests
run: poetry run pytest --cov=src --cov=tests --cov-branch --cov-report=term-missing tests/