1.2.0 #41
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: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
defaults: | ||
run: | ||
shell: bash | ||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Code Quality | ||
run: | | ||
poetry install black | ||
poetry run black . --check | ||
unit-tests: | ||
name: "Unit tests (Python ${{ matrix.python-version }}, Poetry ${{ matrix.poetry-version }}, Platform ${{ matrix.os.name }})" | ||
uses: ./.github/workflows/_tests-matrix.yml | ||
Check failure on line 29 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
needs: lint | ||
strategy: | ||
matrix: | ||
os: | ||
- name: Ubuntu | ||
image: ubuntu-22.04 | ||
- name: macOS x86_64 | ||
image: macos-13 | ||
- name: Windows | ||
image: windows-2022 | ||
- name: macOS aarch64 | ||
image: macos-14 | ||
python-version: | ||
- '3.8' | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.11' | ||
- '3.12' | ||
fail-fast: false |