Release version 0.4.1 #199
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MWRpy tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.10", "3.11"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
pip install .[test] | |
- name: Test with pytest-flakefinder | |
run: | | |
pytest --flake-finder --flake-runs=2 | |
- name: Lint with pylint | |
run: | | |
pylint mwrpy | |
pylint tests | |
- name: Typecheck with mypy | |
run: | | |
mypy mwrpy | |
mypy tests |