feat: migrate to nox
, run tests in parallel, revamp test infra
#125
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: Style and package checks | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
PIP_DISABLE_PIP_VERSION_CHECK: "1" | |
FORCE_COLOR: "3" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
name: ${{ matrix.env }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
session: | |
# - lint | |
- validate-package | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
- uses: yezz123/setup-uv@v4 | |
- name: Run ${{ matrix.env }} | |
run: uvx nox -s ${{ matrix.env }} |