Skip to content

Attempt to fix the read-the-docs build #86

Attempt to fix the read-the-docs build

Attempt to fix the read-the-docs build #86

Workflow file for this run

# SPDX-FileCopyrightText: 2019–2023 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.5.1]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Check imports with isort
run: poetry run isort --check-only . --profile black
- name: Check formatting with black
run: poetry run black --diff --check .
- name: Check typing with mypy
run: poetry run mypy
- name: Linting with ruff
run: poetry run ruff src/pynguin
- name: Run tests
run: poetry run pytest --cov=src --cov=tests --cov-branch --cov-report=term-missing tests/