Skip to content

Commit 74386c1

Browse files
committed
updates CI
1 parent c1e82cb commit 74386c1

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,28 @@ jobs:
3737
enable-cache: true
3838
cache-dependency-glob: "pyproject.toml"
3939
github-token: ${{ secrets.GITHUB_TOKEN }}
40+
4041
- name: Install tox
4142
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
43+
4244
- name: Install Python
4345
if: startsWith(matrix.env, '3.') && matrix.env != '3.13'
4446
run: uv python install --python-preference only-managed ${{ matrix.env }}
47+
4548
- name: Setup test suite
4649
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.env }}
50+
4751
- name: Run test suite
4852
run: tox run --skip-pkg-install -e ${{ matrix.env }}
53+
COV_CMD=$(if [ ${{ matrix.env }} == 3.12 ]; then echo "--cov=pytest_echo --cov-report=xml"; else echo ; fi) tox run --skip-pkg-install -e ${{ matrix.env }} | paste -sd "," -)
54+
4955
env:
5056
PYTEST_ADDOPTS: "-vv --durations=20"
5157
DIFF_AGAINST: HEAD
58+
59+
# - name: Upload coverage to Codecov
60+
# uses: codecov/codecov-action@v5
61+
# if: ${{ success() && matrix.python-version == 3.12 }}
62+
# with:
63+
# env_vars: OS
64+
# name: codecov-pytest-order

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
2.0
22
---
33
* add support python 3.9..3.13
4-
*
4+
* add typing
5+
56

67
1.8.1
78
-----

0 commit comments

Comments
 (0)