Add migrated tests and infra to run on uberjenkins #750
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: Validate Python Files | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'client/smoke_tests/**/*.py' | |
| - 'client/src/**/*.py' | |
| - 'environment/**/*.py' | |
| - 'tests/**/*.py' | |
| - 'jenkins/pipelines/**/*.py' | |
| - '**/pyproject.toml' | |
| - '**/pytest.ini' | |
| - '.github/workflows/*py*' | |
| pull_request: | |
| branches: | |
| - "**" | |
| paths: | |
| - 'client/smoke_tests/**/*.py' | |
| - 'client/src/**/*.py' | |
| - 'environment/**/*.py' | |
| - 'tests/**/*.py' | |
| - 'jenkins/pipelines/**/*.py' | |
| - '.github/workflows/*py*' | |
| jobs: | |
| mypy: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "latest" | |
| - name: mypy validation | |
| working-directory: ${{github.workspace}} | |
| shell: bash | |
| run: .github/workflows/verify_python.sh | |
| python-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: 'format --check' | |
| python-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/ruff-action@v3 |