Skip to content

Commit a62a871

Browse files
committed
ignore trytond
1 parent 6fe8e0a commit a62a871

File tree

4 files changed

+113
-15
lines changed

4 files changed

+113
-15
lines changed

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

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,82 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25+
test-misc-latest:
26+
name: Misc (latest)
27+
timeout-minutes: 30
28+
runs-on: ${{ matrix.os }}
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
python-version: ["3.8","3.12","3.13"]
33+
# python3.6 reached EOL and is no longer being supported on
34+
# new versions of hosted runners on Github Actions
35+
# ubuntu-20.04 is the last version that supported python3.6
36+
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37+
os: [ubuntu-20.04]
38+
steps:
39+
- uses: actions/[email protected]
40+
- uses: actions/setup-python@v5
41+
with:
42+
python-version: ${{ matrix.python-version }}
43+
allow-prereleases: true
44+
- name: Setup Test Env
45+
run: |
46+
pip install "coverage[toml]" tox
47+
- name: Erase coverage
48+
run: |
49+
coverage erase
50+
- name: Test loguru latest
51+
run: |
52+
set -x # print commands that are executed
53+
./scripts/runtox.sh "py${{ matrix.python-version }}-loguru-latest"
54+
- name: Test opentelemetry latest
55+
run: |
56+
set -x # print commands that are executed
57+
./scripts/runtox.sh "py${{ matrix.python-version }}-opentelemetry-latest"
58+
- name: Test potel latest
59+
run: |
60+
set -x # print commands that are executed
61+
./scripts/runtox.sh "py${{ matrix.python-version }}-potel-latest"
62+
- name: Test pure_eval latest
63+
run: |
64+
set -x # print commands that are executed
65+
./scripts/runtox.sh "py${{ matrix.python-version }}-pure_eval-latest"
66+
- name: Test trytond latest
67+
run: |
68+
set -x # print commands that are executed
69+
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond-latest"
70+
- name: Test typer latest
71+
run: |
72+
set -x # print commands that are executed
73+
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
74+
- name: Generate coverage XML (Python 3.6)
75+
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
76+
run: |
77+
export COVERAGE_RCFILE=.coveragerc36
78+
coverage combine .coverage-sentry-*
79+
coverage xml --ignore-errors
80+
- name: Generate coverage XML
81+
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
82+
run: |
83+
coverage combine .coverage-sentry-*
84+
coverage xml
85+
- name: Upload coverage to Codecov
86+
if: ${{ !cancelled() }}
87+
uses: codecov/[email protected]
88+
with:
89+
token: ${{ secrets.CODECOV_TOKEN }}
90+
files: coverage.xml
91+
# make sure no plugins alter our coverage reports
92+
plugin: noop
93+
verbose: true
94+
- name: Upload test results to Codecov
95+
if: ${{ !cancelled() }}
96+
uses: codecov/test-results-action@v1
97+
with:
98+
token: ${{ secrets.CODECOV_TOKEN }}
99+
files: .junitxml
100+
verbose: true
25101
test-misc-pinned:
26102
name: Misc (pinned)
27103
timeout-minutes: 30

scripts/populate_tox/populate_tox.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"starlite",
102102
"sqlalchemy",
103103
"tornado",
104+
"trytond",
104105
"unleash",
105106
}
106107

scripts/populate_tox/tox.jinja

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,13 @@ envlist =
265265
{py3.8,py3.11,py3.12}-tornado-v{6.2}
266266
{py3.8,py3.11,py3.12}-tornado-latest
267267

268+
# Trytond
269+
{py3.6}-trytond-v{4}
270+
{py3.6,py3.8}-trytond-v{5}
271+
{py3.6,py3.11}-trytond-v{6}
272+
{py3.8,py3.11,py3.12}-trytond-v{7}
273+
{py3.8,py3.12,py3.13}-trytond-latest
274+
268275
# Unleash
269276
{py3.8,py3.12,py3.13}-unleash-v6.0.1
270277
{py3.8,py3.12,py3.13}-unleash-latest
@@ -684,6 +691,15 @@ deps =
684691
tornado-v6.2: tornado~=6.2.0
685692
tornado-latest: tornado
686693
694+
# Trytond
695+
trytond: werkzeug
696+
trytond-v4: werkzeug<1.0
697+
trytond-v4: trytond~=4.0
698+
trytond-v5: trytond~=5.0
699+
trytond-v6: trytond~=6.0
700+
trytond-v7: trytond~=7.0
701+
trytond-latest: trytond
702+
687703
# === Integrations - Auto-generated ===
688704
# These come from the populate_tox.py script. Eventually we should move all
689705
# integration tests there.

tox.ini

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,13 @@ envlist =
265265
{py3.8,py3.11,py3.12}-tornado-v{6.2}
266266
{py3.8,py3.11,py3.12}-tornado-latest
267267

268+
# Trytond
269+
{py3.6}-trytond-v{4}
270+
{py3.6,py3.8}-trytond-v{5}
271+
{py3.6,py3.11}-trytond-v{6}
272+
{py3.8,py3.11,py3.12}-trytond-v{7}
273+
{py3.8,py3.12,py3.13}-trytond-latest
274+
268275
# Unleash
269276
{py3.8,py3.12,py3.13}-unleash-v6.0.1
270277
{py3.8,py3.12,py3.13}-unleash-latest
@@ -292,16 +299,11 @@ envlist =
292299

293300

294301
# ~~~ Misc ~~~
302+
{py3.6,py3.7}-loguru-v0.3.2
303+
{py3.6,py3.7,py3.8}-loguru-v0.4.1
295304
{py3.6,py3.7,py3.8}-loguru-v0.5.3
296-
{py3.6,py3.9,py3.10}-loguru-v0.6.0
297305
{py3.6,py3.12,py3.13}-loguru-v0.7.3
298306

299-
{py3.6,py3.7}-trytond-v5.0.63
300-
{py3.6,py3.7,py3.8}-trytond-v5.8.16
301-
{py3.8,py3.10,py3.11}-trytond-v6.8.17
302-
{py3.8,py3.11,py3.12}-trytond-v7.0.9
303-
{py3.8,py3.11,py3.12}-trytond-v7.4.5
304-
305307
{py3.7,py3.11,py3.12}-typer-v0.15.1
306308

307309

@@ -706,6 +708,15 @@ deps =
706708
tornado-v6.2: tornado~=6.2.0
707709
tornado-latest: tornado
708710

711+
# Trytond
712+
trytond: werkzeug
713+
trytond-v4: werkzeug<1.0
714+
trytond-v4: trytond~=4.0
715+
trytond-v5: trytond~=5.0
716+
trytond-v6: trytond~=6.0
717+
trytond-v7: trytond~=7.0
718+
trytond-latest: trytond
719+
709720
# === Integrations - Auto-generated ===
710721
# These come from the populate_tox.py script. Eventually we should move all
711722
# integration tests there.
@@ -738,17 +749,11 @@ deps =
738749

739750

740751
# ~~~ Misc ~~~
752+
loguru-v0.3.2: loguru==0.3.2
753+
loguru-v0.4.1: loguru==0.4.1
741754
loguru-v0.5.3: loguru==0.5.3
742-
loguru-v0.6.0: loguru==0.6.0
743755
loguru-v0.7.3: loguru==0.7.3
744756

745-
trytond-v5.0.63: trytond==5.0.63
746-
trytond-v5.8.16: trytond==5.8.16
747-
trytond-v6.8.17: trytond==6.8.17
748-
trytond-v7.0.9: trytond==7.0.9
749-
trytond-v7.4.5: trytond==7.4.5
750-
trytond: werkzeug
751-
752757
typer-v0.15.1: typer==0.15.1
753758

754759

0 commit comments

Comments
 (0)