ENH: rename regression_coverage_score_v2 to regression_coverage_score #3435
Workflow file for this run
This file contains hidden or 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: Unit tests | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| - main | |
| - master | |
| - v1 | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| python-version: "3.9" | |
| numpy-version: "1.23" | |
| - os: ubuntu-latest | |
| python-version: "3.10" | |
| numpy-version: "1.23" | |
| - os: ubuntu-latest | |
| python-version: "3.11" | |
| numpy-version: 1.25.2 | |
| - os: windows-latest | |
| python-version: "3.11" | |
| numpy-version: 1.25.2 | |
| - os: macos-latest | |
| python-version: "3.10" | |
| numpy-version: 1.25.2 | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Git clone | |
| uses: actions/checkout@v2 | |
| - name: Set up virtual environment | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| environment-file: environment.ci.yml | |
| channels: defaults, conda-forge | |
| miniconda-version: "latest" | |
| - name: Install numpy | |
| run: conda install numpy=${{ matrix.numpy-version }} | |
| - name: Check linting | |
| run: make lint | |
| - name: Check static typing | |
| run: make type-check | |
| - name: Test and coverage with pytest | |
| run: make coverage | |
| - name: Code coverage | |
| run: codecov | |
| - name: v1 tests | |
| run: make v1-tests | |
| - name: v1 docstring tests | |
| run: make v1-docstring-tests |