Skip to content

Commit 4aa7134

Browse files
committed
fix ci
1 parent b5fa13c commit 4aa7134

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

.github/workflows/pre_release.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14-
env:
15-
PYTHON_VERSIONS: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
16-
PYTHON_VERSIONS_INTEGRATION_TESTS: '["3.9", "3.13"]'
17-
1814
jobs:
1915
release_metadata:
2016
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
@@ -36,26 +32,26 @@ jobs:
3632
name: Lint check
3733
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
3834
with:
39-
python-version: ${{ env.PYTHON_VERSIONS }}
35+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4036

4137
type_check:
4238
name: Type check
4339
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
4440
with:
45-
python-version: ${{ env.PYTHON_VERSIONS }}
41+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4642

4743
unit_tests:
4844
name: Unit tests
4945
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
5046
with:
51-
python-version: ${{ env.PYTHON_VERSIONS }}
47+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5248

5349
integration_tests:
5450
name: Integration tests
5551
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
5652
secrets: inherit
5753
with:
58-
python-version: ${{ env.PYTHON_VERSIONS_INTEGRATION_TESTS }}
54+
python-version: '["3.9", "3.13"]'
5955

6056
update_changelog:
6157
name: Update changelog

.github/workflows/release.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ on:
2121
type: string
2222
default: ""
2323

24-
env:
25-
PYTHON_VERSIONS: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
26-
PYTHON_VERSIONS_INTEGRATION_TESTS: '["3.9", "3.13"]'
27-
2824
jobs:
2925
release_metadata:
3026
name: Prepare release metadata
@@ -47,26 +43,26 @@ jobs:
4743
name: Lint check
4844
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
4945
with:
50-
python-version: ${{ env.PYTHON_VERSIONS }}
46+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5147

5248
type_check:
5349
name: Type check
5450
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
5551
with:
56-
python-version: ${{ env.PYTHON_VERSIONS }}
52+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5753

5854
unit_tests:
5955
name: Unit tests
6056
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
6157
with:
62-
python-version: ${{ env.PYTHON_VERSIONS }}
58+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
6359

6460
integration_tests:
6561
name: Integration tests
6662
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
6763
secrets: inherit
6864
with:
69-
python-version: ${{ env.PYTHON_VERSIONS_INTEGRATION_TESTS }}
65+
python-version: '["3.9", "3.13"]'
7066

7167
update_changelog:
7268
name: Update changelog

.github/workflows/run_code_checks.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,24 @@ on:
66
# step required for PRs from forks. This prevents their potential exposure.
77
pull_request:
88

9-
env:
10-
PYTHON_VERSIONS: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
11-
PYTHON_VERSIONS_INTEGRATION_TESTS: '["3.9", "3.13"]'
12-
139
jobs:
1410
lint_check:
1511
name: Lint check
1612
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
1713
with:
18-
python-version: ${{ env.PYTHON_VERSIONS }}
14+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
1915

2016
type_check:
2117
name: Type check
2218
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
2319
with:
24-
python-version: ${{ env.PYTHON_VERSIONS }}
20+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
2521

2622
unit_tests:
2723
name: Unit tests
2824
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
2925
with:
30-
python-version: ${{ env.PYTHON_VERSIONS }}
26+
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3127

3228
docs_check:
3329
name: Docs check
@@ -39,4 +35,4 @@ jobs:
3935
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
4036
secrets: inherit
4137
with:
42-
python-version: ${{ env.PYTHON_VERSIONS_INTEGRATION_TESTS }}
38+
python-version: '["3.9", "3.13"]'

0 commit comments

Comments
 (0)