Skip to content

ci: simplify trigger to tags v1.* and v2.* #38

ci: simplify trigger to tags v1.* and v2.*

ci: simplify trigger to tags v1.* and v2.* #38

Workflow file for this run

name: CI test for v2 branch
on:
push:
branches: ["v2"]
pull_request:
branches: ["v2"]
workflow_dispatch:
jobs:
test:
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
- name: Pytest
run: hatch run +py=${{ matrix.python-version }} test:test