Skip to content

Commit b132895

Browse files
committed
Fix test run
1 parent 5bde305 commit b132895

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

.github/workflows/_tests.yaml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,12 @@ on:
88
workflow_call:
99

1010
jobs:
11-
# Create a custom unit tests job, because apify-shared-python doesn't use codecov report.
1211
unit_tests:
1312
name: Unit tests
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
os: [ubuntu-latest, windows-latest]
18-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
19-
runs-on: ${{ matrix.os }}
20-
21-
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v6
24-
25-
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v6
27-
with:
28-
python-version: ${{ matrix.python-version }}
29-
30-
- name: Set up uv package manager
31-
uses: astral-sh/setup-uv@v7
32-
with:
33-
python-version: ${{ matrix.python-version }}
34-
35-
- name: Install Python dependencies
36-
run: make install-dev
37-
38-
- name: Run unit tests
39-
run: make unit-tests-cov
13+
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
14+
with:
15+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
16+
operating-systems: '["ubuntu-latest", "windows-latest"]'
17+
# Apify shared don't use codecov, but we have to provide these inputs.
18+
python-version-for-codecov: "3.14"
19+
operating-system-for-codecov: ubuntu-latest

0 commit comments

Comments
 (0)