Skip to content

ci: Add prerelease on push to v2 to GH CI release.yml #6

ci: Add prerelease on push to v2 to GH CI release.yml

ci: Add prerelease on push to v2 to GH CI release.yml #6

Workflow file for this run

name: CI test for v2 branch
on:
push:
branches: ["v2"]
pull_request:
branches: ["v2"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install hatch
hatch env create
- name: Pytest
run: hatch run test