Skip to content

Commit 38258f6

Browse files
committed
update CI workflows to enhance Python version support and install package step
1 parent 8e1e3d6 commit 38258f6

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ jobs:
1616
with:
1717
ref: ${{ inputs.tag }}
1818
- uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
1921
- name: Install dependencies
2022
run: |
2123
python -m pip install --upgrade poetry
2224
poetry install
25+
- name: Install package
26+
run: |
27+
pip install .
2328
- name: Build
2429
run: |
2530
poetry build

.github/workflows/tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on: [ push, pull_request ]
55
jobs:
66
build:
77
runs-on: ${{ matrix.platform }}
8+
env:
9+
GIT_CONFIG_COUNT: '1'
10+
GIT_CONFIG_KEY_0: core.longpaths
11+
GIT_CONFIG_VALUE_0: 'true'
812
strategy:
913
max-parallel: 4
1014
matrix:
@@ -14,7 +18,7 @@ jobs:
1418
- macos-latest
1519
- windows-latest
1620
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
17-
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
21+
python-version: [ '3.12', '3.13', '3.14' ]
1822

1923
steps:
2024
- uses: actions/checkout@v4
@@ -24,7 +28,10 @@ jobs:
2428
python-version: ${{ matrix.python-version }}
2529
- name: Install dependencies
2630
run: |
27-
python -m pip install --upgrade setuptools pip wheel pytest mock requests
31+
python -m pip install --upgrade setuptools pip wheel pytest pytest-asyncio mock requests
32+
- name: Install package
33+
run: |
34+
pip install .
2835
- name: Test with pytest
2936
run: pytest -rp
3037

0 commit comments

Comments
 (0)