Skip to content

Commit 71e22b4

Browse files
authored
Sync toxgen with master (#4061)
1 parent 20c7e5b commit 71e22b4

12 files changed

+344
-541
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.7","3.9","3.11","3.12","3.13"]
32+
python-version: ["3.7","3.9","3.11","3.12"]
3333
os: [ubuntu-22.04]
3434
steps:
3535
- uses: actions/[email protected]
@@ -70,7 +70,7 @@ jobs:
7070
coverage xml
7171
- name: Upload coverage to Codecov
7272
if: ${{ !cancelled() }}
73-
uses: codecov/codecov-action@v5.1.2
73+
uses: codecov/codecov-action@v5.3.1
7474
with:
7575
token: ${{ secrets.CODECOV_TOKEN }}
7676
files: coverage.xml
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
fail-fast: false
9393
matrix:
94-
python-version: ["3.8","3.9","3.11","3.12","3.13"]
94+
python-version: ["3.8","3.9","3.11","3.12"]
9595
os: [ubuntu-22.04]
9696
steps:
9797
- uses: actions/[email protected]
@@ -132,7 +132,7 @@ jobs:
132132
coverage xml
133133
- name: Upload coverage to Codecov
134134
if: ${{ !cancelled() }}
135-
uses: codecov/codecov-action@v5.1.2
135+
uses: codecov/codecov-action@v5.3.1
136136
with:
137137
token: ${{ secrets.CODECOV_TOKEN }}
138138
files: coverage.xml

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
coverage xml
9494
- name: Upload coverage to Codecov
9595
if: ${{ !cancelled() }}
96-
uses: codecov/codecov-action@v5.1.2
96+
uses: codecov/codecov-action@v5.3.1
9797
with:
9898
token: ${{ secrets.CODECOV_TOKEN }}
9999
files: coverage.xml
@@ -114,7 +114,7 @@ jobs:
114114
strategy:
115115
fail-fast: false
116116
matrix:
117-
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12"]
117+
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
118118
os: [ubuntu-22.04]
119119
services:
120120
postgres:
@@ -178,7 +178,7 @@ jobs:
178178
coverage xml
179179
- name: Upload coverage to Codecov
180180
if: ${{ !cancelled() }}
181-
uses: codecov/codecov-action@v5.1.2
181+
uses: codecov/codecov-action@v5.3.1
182182
with:
183183
token: ${{ secrets.CODECOV_TOKEN }}
184184
files: coverage.xml

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

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -22,68 +22,14 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-flags-latest:
26-
name: Flags (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-
os: [ubuntu-22.04]
34-
steps:
35-
- uses: actions/[email protected]
36-
- uses: actions/setup-python@v5
37-
with:
38-
python-version: ${{ matrix.python-version }}
39-
allow-prereleases: true
40-
- name: Setup Test Env
41-
run: |
42-
pip install "coverage[toml]" tox
43-
- name: Erase coverage
44-
run: |
45-
coverage erase
46-
- name: Test launchdarkly latest
47-
run: |
48-
set -x # print commands that are executed
49-
./scripts/runtox.sh "py${{ matrix.python-version }}-launchdarkly-latest"
50-
- name: Test openfeature latest
51-
run: |
52-
set -x # print commands that are executed
53-
./scripts/runtox.sh "py${{ matrix.python-version }}-openfeature-latest"
54-
- name: Test unleash latest
55-
run: |
56-
set -x # print commands that are executed
57-
./scripts/runtox.sh "py${{ matrix.python-version }}-unleash-latest"
58-
- name: Generate coverage XML
59-
if: ${{ !cancelled() }}
60-
run: |
61-
coverage combine .coverage-sentry-*
62-
coverage xml
63-
- name: Upload coverage to Codecov
64-
if: ${{ !cancelled() }}
65-
uses: codecov/[email protected]
66-
with:
67-
token: ${{ secrets.CODECOV_TOKEN }}
68-
files: coverage.xml
69-
# make sure no plugins alter our coverage reports
70-
plugin: noop
71-
verbose: true
72-
- name: Upload test results to Codecov
73-
if: ${{ !cancelled() }}
74-
uses: codecov/test-results-action@v1
75-
with:
76-
token: ${{ secrets.CODECOV_TOKEN }}
77-
files: .junitxml
78-
verbose: true
7925
test-flags-pinned:
8026
name: Flags (pinned)
8127
timeout-minutes: 30
8228
runs-on: ${{ matrix.os }}
8329
strategy:
8430
fail-fast: false
8531
matrix:
86-
python-version: ["3.8","3.12","3.13"]
32+
python-version: ["3.7","3.8","3.9","3.12","3.13"]
8733
os: [ubuntu-22.04]
8834
steps:
8935
- uses: actions/[email protected]
@@ -105,6 +51,10 @@ jobs:
10551
run: |
10652
set -x # print commands that are executed
10753
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openfeature"
54+
- name: Test statsig pinned
55+
run: |
56+
set -x # print commands that are executed
57+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-statsig"
10858
- name: Test unleash pinned
10959
run: |
11060
set -x # print commands that are executed
@@ -116,7 +66,7 @@ jobs:
11666
coverage xml
11767
- name: Upload coverage to Codecov
11868
if: ${{ !cancelled() }}
119-
uses: codecov/codecov-action@v5.1.2
69+
uses: codecov/codecov-action@v5.3.1
12070
with:
12171
token: ${{ secrets.CODECOV_TOKEN }}
12272
files: coverage.xml

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
coverage xml
5555
- name: Upload coverage to Codecov
5656
if: ${{ !cancelled() }}
57-
uses: codecov/codecov-action@v5.1.2
57+
uses: codecov/codecov-action@v5.3.1
5858
with:
5959
token: ${{ secrets.CODECOV_TOKEN }}
6060
files: coverage.xml

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

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -22,72 +22,14 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-graphql-latest:
26-
name: GraphQL (latest)
27-
timeout-minutes: 30
28-
runs-on: ${{ matrix.os }}
29-
strategy:
30-
fail-fast: false
31-
matrix:
32-
python-version: ["3.7","3.8","3.12","3.13"]
33-
os: [ubuntu-22.04]
34-
steps:
35-
- uses: actions/[email protected]
36-
- uses: actions/setup-python@v5
37-
with:
38-
python-version: ${{ matrix.python-version }}
39-
allow-prereleases: true
40-
- name: Setup Test Env
41-
run: |
42-
pip install "coverage[toml]" tox
43-
- name: Erase coverage
44-
run: |
45-
coverage erase
46-
- name: Test ariadne latest
47-
run: |
48-
set -x # print commands that are executed
49-
./scripts/runtox.sh "py${{ matrix.python-version }}-ariadne-latest"
50-
- name: Test gql latest
51-
run: |
52-
set -x # print commands that are executed
53-
./scripts/runtox.sh "py${{ matrix.python-version }}-gql-latest"
54-
- name: Test graphene latest
55-
run: |
56-
set -x # print commands that are executed
57-
./scripts/runtox.sh "py${{ matrix.python-version }}-graphene-latest"
58-
- name: Test strawberry latest
59-
run: |
60-
set -x # print commands that are executed
61-
./scripts/runtox.sh "py${{ matrix.python-version }}-strawberry-latest"
62-
- name: Generate coverage XML
63-
if: ${{ !cancelled() }}
64-
run: |
65-
coverage combine .coverage-sentry-*
66-
coverage xml
67-
- name: Upload coverage to Codecov
68-
if: ${{ !cancelled() }}
69-
uses: codecov/[email protected]
70-
with:
71-
token: ${{ secrets.CODECOV_TOKEN }}
72-
files: coverage.xml
73-
# make sure no plugins alter our coverage reports
74-
plugin: noop
75-
verbose: true
76-
- name: Upload test results to Codecov
77-
if: ${{ !cancelled() }}
78-
uses: codecov/test-results-action@v1
79-
with:
80-
token: ${{ secrets.CODECOV_TOKEN }}
81-
files: .junitxml
82-
verbose: true
8325
test-graphql-pinned:
8426
name: GraphQL (pinned)
8527
timeout-minutes: 30
8628
runs-on: ${{ matrix.os }}
8729
strategy:
8830
fail-fast: false
8931
matrix:
90-
python-version: ["3.7","3.8","3.11","3.12"]
32+
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
9133
os: [ubuntu-22.04]
9234
steps:
9335
- uses: actions/[email protected]
@@ -124,7 +66,7 @@ jobs:
12466
coverage xml
12567
- name: Upload coverage to Codecov
12668
if: ${{ !cancelled() }}
127-
uses: codecov/codecov-action@v5.1.2
69+
uses: codecov/codecov-action@v5.3.1
12870
with:
12971
token: ${{ secrets.CODECOV_TOKEN }}
13072
files: coverage.xml

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

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -22,72 +22,6 @@ 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.7","3.8","3.12","3.13"]
33-
os: [ubuntu-22.04]
34-
steps:
35-
- uses: actions/[email protected]
36-
- uses: actions/setup-python@v5
37-
with:
38-
python-version: ${{ matrix.python-version }}
39-
allow-prereleases: true
40-
- name: Setup Test Env
41-
run: |
42-
pip install "coverage[toml]" tox
43-
- name: Erase coverage
44-
run: |
45-
coverage erase
46-
- name: Test loguru latest
47-
run: |
48-
set -x # print commands that are executed
49-
./scripts/runtox.sh "py${{ matrix.python-version }}-loguru-latest"
50-
- name: Test opentelemetry latest
51-
run: |
52-
set -x # print commands that are executed
53-
./scripts/runtox.sh "py${{ matrix.python-version }}-opentelemetry-latest"
54-
- name: Test potel latest
55-
run: |
56-
set -x # print commands that are executed
57-
./scripts/runtox.sh "py${{ matrix.python-version }}-potel-latest"
58-
- name: Test pure_eval latest
59-
run: |
60-
set -x # print commands that are executed
61-
./scripts/runtox.sh "py${{ matrix.python-version }}-pure_eval-latest"
62-
- name: Test trytond latest
63-
run: |
64-
set -x # print commands that are executed
65-
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond-latest"
66-
- name: Test typer latest
67-
run: |
68-
set -x # print commands that are executed
69-
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
70-
- name: Generate coverage XML
71-
if: ${{ !cancelled() }}
72-
run: |
73-
coverage combine .coverage-sentry-*
74-
coverage xml
75-
- name: Upload coverage to Codecov
76-
if: ${{ !cancelled() }}
77-
uses: codecov/[email protected]
78-
with:
79-
token: ${{ secrets.CODECOV_TOKEN }}
80-
files: coverage.xml
81-
# make sure no plugins alter our coverage reports
82-
plugin: noop
83-
verbose: true
84-
- name: Upload test results to Codecov
85-
if: ${{ !cancelled() }}
86-
uses: codecov/test-results-action@v1
87-
with:
88-
token: ${{ secrets.CODECOV_TOKEN }}
89-
files: .junitxml
90-
verbose: true
9125
test-misc-pinned:
9226
name: Misc (pinned)
9327
timeout-minutes: 30
@@ -140,7 +74,7 @@ jobs:
14074
coverage xml
14175
- name: Upload coverage to Codecov
14276
if: ${{ !cancelled() }}
143-
uses: codecov/codecov-action@v5.1.2
77+
uses: codecov/codecov-action@v5.3.1
14478
with:
14579
token: ${{ secrets.CODECOV_TOKEN }}
14680
files: coverage.xml

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.8","3.9","3.11","3.12","3.13"]
32+
python-version: ["3.9","3.12","3.13"]
3333
os: [ubuntu-22.04]
3434
steps:
3535
- uses: actions/[email protected]
@@ -62,7 +62,7 @@ jobs:
6262
coverage xml
6363
- name: Upload coverage to Codecov
6464
if: ${{ !cancelled() }}
65-
uses: codecov/codecov-action@v5.1.2
65+
uses: codecov/codecov-action@v5.3.1
6666
with:
6767
token: ${{ secrets.CODECOV_TOKEN }}
6868
files: coverage.xml
@@ -116,7 +116,7 @@ jobs:
116116
coverage xml
117117
- name: Upload coverage to Codecov
118118
if: ${{ !cancelled() }}
119-
uses: codecov/codecov-action@v5.1.2
119+
uses: codecov/codecov-action@v5.3.1
120120
with:
121121
token: ${{ secrets.CODECOV_TOKEN }}
122122
files: coverage.xml

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
coverage xml
8585
- name: Upload coverage to Codecov
8686
if: ${{ !cancelled() }}
87-
uses: codecov/codecov-action@v5.1.2
87+
uses: codecov/codecov-action@v5.3.1
8888
with:
8989
token: ${{ secrets.CODECOV_TOKEN }}
9090
files: coverage.xml
@@ -105,7 +105,7 @@ jobs:
105105
strategy:
106106
fail-fast: false
107107
matrix:
108-
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12"]
108+
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
109109
os: [ubuntu-22.04]
110110
steps:
111111
- uses: actions/[email protected]
@@ -160,7 +160,7 @@ jobs:
160160
coverage xml
161161
- name: Upload coverage to Codecov
162162
if: ${{ !cancelled() }}
163-
uses: codecov/codecov-action@v5.1.2
163+
uses: codecov/codecov-action@v5.3.1
164164
with:
165165
token: ${{ secrets.CODECOV_TOKEN }}
166166
files: coverage.xml

0 commit comments

Comments
 (0)