Skip to content

Commit 7314773

Browse files
committed
Fix run code checks
1 parent 03fad86 commit 7314773

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/workflows/run_code_checks.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,32 @@ jobs:
3636
with:
3737
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3838

39+
# Create a custom unit tests job, because apify-shared-python does not unit codecov report.
3940
unit_tests:
4041
name: Unit tests
41-
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
42-
with:
43-
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
os: [ubuntu-latest, windows-latest]
46+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
47+
runs-on: ${{ matrix.os }}
48+
49+
steps:
50+
- name: Checkout repository
51+
uses: actions/checkout@v6
52+
53+
- name: Set up Python ${{ matrix.python-version }}
54+
uses: actions/setup-python@v6
55+
with:
56+
python-version: ${{ matrix.python-version }}
57+
58+
- name: Set up uv package manager
59+
uses: astral-sh/setup-uv@v7
60+
with:
61+
python-version: ${{ matrix.python-version }}
62+
63+
- name: Install Python dependencies
64+
run: make install-dev
65+
66+
- name: Run unit tests
67+
run: make unit-tests-cov

0 commit comments

Comments
 (0)