Skip to content

Commit d5958c0

Browse files
committed
Merge branch 'potel-base' into potel-base-run-all-tests
2 parents a661f16 + 64d1930 commit d5958c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+943
-394
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
python-version: 3.12
4646

4747
- run: |
48-
pip install jinja2
49-
python scripts/split-tox-gh-actions/split-tox-gh-actions.py --fail-on-changes
48+
pip install -r scripts/split_tox_gh_actions/requirements.txt
49+
python scripts/split_tox_gh_actions/split_tox_gh_actions.py --fail-on-changes
5050
5151
build_lambda_layer:
5252
name: Build Package
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Automation: Notify issues for release"
2+
on:
3+
release:
4+
types:
5+
- published
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: Which version to notify issues for
10+
required: false
11+
12+
# This workflow is triggered when a release is published
13+
jobs:
14+
release-comment-issues:
15+
runs-on: ubuntu-20.04
16+
name: Notify issues
17+
steps:
18+
- name: Get version
19+
id: get_version
20+
run: echo "version=${{ github.event.inputs.version || github.event.release.tag_name }}" >> $GITHUB_OUTPUT
21+
22+
- name: Comment on linked issues that are mentioned in release
23+
if: |
24+
steps.get_version.outputs.version != ''
25+
&& !contains(steps.get_version.outputs.version, 'a')
26+
&& !contains(steps.get_version.outputs.version, 'b')
27+
&& !contains(steps.get_version.outputs.version, 'rc')
28+
uses: getsentry/release-comment-issues-gh-action@v1
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
version: ${{ steps.get_version.outputs.version }}

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test AI
46
on:
57
push:
@@ -73,7 +75,7 @@ jobs:
7375
coverage xml
7476
- name: Upload coverage to Codecov
7577
if: ${{ !cancelled() }}
76-
uses: codecov/codecov-action@v5.0.7
78+
uses: codecov/codecov-action@v5.1.1
7779
with:
7880
token: ${{ secrets.CODECOV_TOKEN }}
7981
files: coverage.xml
@@ -140,7 +142,7 @@ jobs:
140142
coverage xml
141143
- name: Upload coverage to Codecov
142144
if: ${{ !cancelled() }}
143-
uses: codecov/codecov-action@v5.0.7
145+
uses: codecov/codecov-action@v5.1.1
144146
with:
145147
token: ${{ secrets.CODECOV_TOKEN }}
146148
files: coverage.xml

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test AWS
46
on:
57
push:
@@ -88,7 +90,7 @@ jobs:
8890
coverage xml
8991
- name: Upload coverage to Codecov
9092
if: ${{ !cancelled() }}
91-
uses: codecov/codecov-action@v5.0.7
93+
uses: codecov/codecov-action@v5.1.1
9294
with:
9395
token: ${{ secrets.CODECOV_TOKEN }}
9496
files: coverage.xml

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test Cloud
46
on:
57
push:
@@ -68,7 +70,7 @@ jobs:
6870
coverage xml
6971
- name: Upload coverage to Codecov
7072
if: ${{ !cancelled() }}
71-
uses: codecov/codecov-action@v5.0.7
73+
uses: codecov/codecov-action@v5.1.1
7274
with:
7375
token: ${{ secrets.CODECOV_TOKEN }}
7476
files: coverage.xml
@@ -130,7 +132,7 @@ jobs:
130132
coverage xml
131133
- name: Upload coverage to Codecov
132134
if: ${{ !cancelled() }}
133-
uses: codecov/codecov-action@v5.0.7
135+
uses: codecov/codecov-action@v5.1.1
134136
with:
135137
token: ${{ secrets.CODECOV_TOKEN }}
136138
files: coverage.xml

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test Common
46
on:
57
push:
@@ -53,7 +55,7 @@ jobs:
5355
coverage xml
5456
- name: Upload coverage to Codecov
5557
if: ${{ !cancelled() }}
56-
uses: codecov/codecov-action@v5.0.7
58+
uses: codecov/codecov-action@v5.1.1
5759
with:
5860
token: ${{ secrets.CODECOV_TOKEN }}
5961
files: coverage.xml

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test DBs
46
on:
57
push:
@@ -97,7 +99,7 @@ jobs:
9799
coverage xml
98100
- name: Upload coverage to Codecov
99101
if: ${{ !cancelled() }}
100-
uses: codecov/codecov-action@v5.0.7
102+
uses: codecov/codecov-action@v5.1.1
101103
with:
102104
token: ${{ secrets.CODECOV_TOKEN }}
103105
files: coverage.xml
@@ -188,7 +190,7 @@ jobs:
188190
coverage xml
189191
- name: Upload coverage to Codecov
190192
if: ${{ !cancelled() }}
191-
uses: codecov/codecov-action@v5.0.7
193+
uses: codecov/codecov-action@v5.1.1
192194
with:
193195
token: ${{ secrets.CODECOV_TOKEN }}
194196
files: coverage.xml

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test GraphQL
46
on:
57
push:
@@ -68,7 +70,7 @@ jobs:
6870
coverage xml
6971
- name: Upload coverage to Codecov
7072
if: ${{ !cancelled() }}
71-
uses: codecov/codecov-action@v5.0.7
73+
uses: codecov/codecov-action@v5.1.1
7274
with:
7375
token: ${{ secrets.CODECOV_TOKEN }}
7476
files: coverage.xml
@@ -130,7 +132,7 @@ jobs:
130132
coverage xml
131133
- name: Upload coverage to Codecov
132134
if: ${{ !cancelled() }}
133-
uses: codecov/codecov-action@v5.0.7
135+
uses: codecov/codecov-action@v5.1.1
134136
with:
135137
token: ${{ secrets.CODECOV_TOKEN }}
136138
files: coverage.xml

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test Misc
46
on:
57
push:
@@ -76,14 +78,18 @@ jobs:
7678
run: |
7779
set -x # print commands that are executed
7880
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond-latest"
81+
- name: Test typer latest
82+
run: |
83+
set -x # print commands that are executed
84+
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
7985
- name: Generate coverage XML
8086
if: ${{ !cancelled() }}
8187
run: |
8288
coverage combine .coverage-sentry-*
8389
coverage xml
8490
- name: Upload coverage to Codecov
8591
if: ${{ !cancelled() }}
86-
uses: codecov/codecov-action@v5.0.7
92+
uses: codecov/codecov-action@v5.1.1
8793
with:
8894
token: ${{ secrets.CODECOV_TOKEN }}
8995
files: coverage.xml
@@ -153,14 +159,18 @@ jobs:
153159
run: |
154160
set -x # print commands that are executed
155161
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-trytond"
162+
- name: Test typer pinned
163+
run: |
164+
set -x # print commands that are executed
165+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-typer"
156166
- name: Generate coverage XML
157167
if: ${{ !cancelled() }}
158168
run: |
159169
coverage combine .coverage-sentry-*
160170
coverage xml
161171
- name: Upload coverage to Codecov
162172
if: ${{ !cancelled() }}
163-
uses: codecov/codecov-action@v5.0.7
173+
uses: codecov/codecov-action@v5.1.1
164174
with:
165175
token: ${{ secrets.CODECOV_TOKEN }}
166176
files: coverage.xml

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Do not edit this file. This file is generated automatically by executing
2-
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
1+
# Do not edit this YAML file. This file is generated automatically by executing
2+
# python scripts/split_tox_gh_actions/split_tox_gh_actions.py
3+
# The template responsible for it is in
4+
# scripts/split_tox_gh_actions/templates/base.jinja
35
name: Test Network
46
on:
57
push:
@@ -68,7 +70,7 @@ jobs:
6870
coverage xml
6971
- name: Upload coverage to Codecov
7072
if: ${{ !cancelled() }}
71-
uses: codecov/codecov-action@v5.0.7
73+
uses: codecov/codecov-action@v5.1.1
7274
with:
7375
token: ${{ secrets.CODECOV_TOKEN }}
7476
files: coverage.xml
@@ -130,7 +132,7 @@ jobs:
130132
coverage xml
131133
- name: Upload coverage to Codecov
132134
if: ${{ !cancelled() }}
133-
uses: codecov/codecov-action@v5.0.7
135+
uses: codecov/codecov-action@v5.1.1
134136
with:
135137
token: ${{ secrets.CODECOV_TOKEN }}
136138
files: coverage.xml

0 commit comments

Comments
 (0)