Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Apr 4, 2024
2 parents 7d69005 + 5761218 commit e593ac2
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit e593ac2

Please sign in to comment.