Skip to content

ci(github): properly pass python versions to setup step #229

ci(github): properly pass python versions to setup step

ci(github): properly pass python versions to setup step #229

Workflow file for this run

name: Build
on:
pull_request: # to master
schedule:
- cron: "0 0 * * 0"
push:
branches:
- "ci/**" # CI debugging
- "v*" # version branches
- "master"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/setup
with:
python: 3.12
- name: Lint
id: lint
run: tox -e lint
continue-on-error: true
- name: Emit warning if lint failed
if: ${{ steps.lint.outcome != 'success' }}
run: echo "::warning::Lint step failed, check logs"
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python:
- "3.12"
- "3.11"
- "3.10"
- "3.9.14"
- "3.8"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/setup
with:
python: ${{ matrix.python }}
- name: Test
run: tox