Skip to content

Bump actions/setup-python from 4 to 5 #2202

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #2202

Workflow file for this run

name: CICD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: build + test py${{ matrix.python-version }} on ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: run ci checks
run: make ci
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
- name: build wheel
run: |
poetry version 0.0.0+${{ github.sha }}
poetry build
- name: upload wheel as artifact
uses: actions/upload-artifact@v3
with:
path: dist/*.whl
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true