feat: add support for py3.8 and downgrade some of the types #80
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_tests: | |
name: ${{ matrix.pixi-environment }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
pixi-environment: | |
- py312 | |
- py311 | |
- py310 | |
- py39 | |
- py38 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/setup-pixi@v0.5.1 | |
with: | |
pixi-version: "latest" | |
environments: ${{ matrix.pixi-environment }} | |
- name: run tests | |
run: | | |
pixi run --environment ${{ matrix.pixi-environment }} tests | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/setup-pixi@v0.8.1 | |
- name: Format and lint | |
run: | | |
pixi run fmt | |
pixi run lint | |
- name: Assert no changes | |
run: git diff --exit-code |