Skip to content

Commit 2ef29db

Browse files
committed
Revert custom ut wrkflow
1 parent fc0632f commit 2ef29db

File tree

1 file changed

+7
-35
lines changed

1 file changed

+7
-35
lines changed

.github/workflows/run_code_checks.yaml

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -30,41 +30,13 @@ jobs:
3030
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3131

3232
unit_tests:
33-
strategy:
34-
fail-fast: false
35-
matrix:
36-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
37-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
38-
runs-on: ${{ matrix.os }}
39-
env:
40-
HTTPBIN_URL: 'asd'
41-
42-
steps:
43-
- name: macOS cleanup
44-
if: runner.os == 'macOS'
45-
# Disable Spotlight indexing and try to kill all useless processes that could drain CPU during tests
46-
run: |
47-
sudo mdutil -i off /
48-
sudo killall Finder spindump ecosystemanalyticsd SystemUIServer NotificationCenter mds mds_stores mds_worker mdworker mdworker_shared || true
49-
50-
- name: Checkout repository
51-
uses: actions/checkout@v4
52-
53-
- name: Set up Python ${{ matrix.python-version }}
54-
uses: actions/setup-python@v5
55-
with:
56-
python-version: ${{ matrix.python-version }}
57-
58-
- name: Set up uv package manager
59-
uses: astral-sh/setup-uv@v6
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
33+
name: Unit tests
34+
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
35+
secrets:
36+
httpbin_url: ${{ secrets.APIFY_HTTPBIN_TOKEN && format('https://httpbin.apify.actor?token={0}', secrets.APIFY_HTTPBIN_TOKEN) || 'https://httpbin.org'}}
37+
with:
38+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
39+
os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
6840

6941
docs_check:
7042
name: Docs check

0 commit comments

Comments
 (0)