fix: gateway nginx DNS runtime-resolve voor native Linux (v1.7.3) #75
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - 'src/**' | |
| - 'apps/**' | |
| - 'tests/**' | |
| - '.github/workflows/ci.yml' | |
| pull_request: | |
| branches: [main, develop] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.13] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Ruff (lint) | |
| run: uv run ruff check src apps tests | |
| - name: Ruff (lint) | |
| run: uv run ruff format src apps tests | |
| - name: Pyright type checking | |
| run: uv run pyright | |
| - name: Run tests | |
| run: | | |
| mkdir -p reports | |
| uv run pytest -q --maxfail=1 --junitxml=reports/junit.xml --cov=src --cov-report=xml | |
| - name: Upload test reports | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: pytest-reports | |
| path: reports | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: coverage-xml | |
| path: coverage.xml |