Merge pull request #89 from zuzukin/license-files #103
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: CI | |
on: [push] | |
jobs: | |
build-os-python: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.8", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goanpeca/setup-miniconda@v2.2.0 | |
with: | |
miniforge-variant: Mambaforge-pypy3 | |
conda-build-version: ">=3.26" | |
environment-file: environment.yml | |
activate-environment: whl2conda-dev | |
python-version: ${{ matrix.python-version }} | |
auto-update-conda: true | |
condarc-file: github-condarc.yml | |
auto-activate-base: true | |
use-mamba: true | |
- name: Dev install whl2conda | |
run: | | |
conda run -n whl2conda-dev pip install -e . --no-deps --no-build-isolation | |
- name: pylint | |
run: | | |
make pylint | |
- name: mypy | |
if: success() || failure() | |
run: | | |
make mypy | |
- name: check black formatting | |
if: success() || failure() | |
run: | | |
make black-check | |
- name: Test with pytest | |
if: success() || failure() | |
run: | | |
make coverage |