Skip to content

Just testing CI with UTs with Python 3.13.5 #391

Just testing CI with UTs with Python 3.13.5

Just testing CI with UTs with Python 3.13.5 #391

name: Run code checks
on:
# Trigger code checks on opening a new pull request.
# Secrets are only made available to the integration tests job, with a manual approval
# step required for PRs from forks. This prevents their potential exposure.
pull_request:
jobs:
lint_check:
name: Lint check
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
type_check:
name: Type check
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
unit_tests:
name: Unit tests
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.13.5"]
runs-on: ${{ matrix.os }}
env:
HTTPBIN_URL: ${{ secrets.httpbin_url || 'https://httpbin.org' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv package manager
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: make install-dev
- name: Run unit tests
run: make unit-tests
docs_check:
name: Docs check
uses: apify/workflows/.github/workflows/python_docs_check.yaml@main
integration_tests:
name: Integration tests
needs: [lint_check, type_check, unit_tests]
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@fix-integration-tests-from-forks
secrets: inherit