Skip to content

Commit 030c138

Browse files
committed
Pin tests, add to CI
1 parent dc49206 commit 030c138

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/test-integrations-misc.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ["3.6","3.8","3.12","3.13"]
30+
python-version: ["3.6","3.7","3.8","3.12","3.13"]
3131
# python3.6 reached EOL and is no longer being supported on
3232
# new versions of hosted runners on Github Actions
3333
# ubuntu-20.04 is the last version that supported python3.6
@@ -73,6 +73,10 @@ jobs:
7373
run: |
7474
set -x # print commands that are executed
7575
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond-latest"
76+
- name: Test typer latest
77+
run: |
78+
set -x # print commands that are executed
79+
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
7680
- name: Generate coverage XML (Python 3.6)
7781
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
7882
run: |
@@ -153,6 +157,10 @@ jobs:
153157
run: |
154158
set -x # print commands that are executed
155159
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-trytond"
160+
- name: Test typer pinned
161+
run: |
162+
set -x # print commands that are executed
163+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-typer"
156164
- name: Generate coverage XML (Python 3.6)
157165
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
158166
run: |

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ envlist =
288288
{py3.8,py3.12,py3.13}-trytond-latest
289289

290290
# Typer
291-
{py3.7,py3.9,py3.10,py3.11,py3.12,py3.13}-typer-lates
291+
{py3.7,py3.12,py3.13}-typer-v{0.15}
292+
{py3.7,py3.12,py3.13}-typer-latest
292293

293294
[testenv]
294295
deps =
@@ -727,7 +728,7 @@ deps =
727728
trytond-latest: trytond
728729

729730
# Typer
730-
typer: typer
731+
typer-v0.15: typer~=0.15.0
731732
typer-latest: typer
732733

733734
setenv =
@@ -792,6 +793,7 @@ setenv =
792793
strawberry: TESTPATH=tests/integrations/strawberry
793794
tornado: TESTPATH=tests/integrations/tornado
794795
trytond: TESTPATH=tests/integrations/trytond
796+
typer: TESTPATH=tests/integrations/typer
795797
socket: TESTPATH=tests/integrations/socket
796798

797799
passenv =

0 commit comments

Comments
 (0)