Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #111

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #111

Workflow file for this run

name: quality-check
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: ${{ matrix.platform }}
env:
PLATFORM: ${{ matrix.platform }}
PYTHON_VERSION: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: pip install .[tests]
- name: Run tests
run: pytest --cov --cov-report=xml
- name: Run mypy
run: mypy
- uses: codecov/codecov-action@v3.1.4
with:
env_vars: PLATFORM,PYTHON_VERSION
fail_ci_if_error: true
verbose: true