Add in a method to skip a test based on platform #720
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' | |
| pull_request: | |
| branches: | |
| - "**" | |
| paths: | |
| - 'client/smoke_tests/**/*.py' | |
| - 'client/src/**/*.py' | |
| - 'environment/**/*.py' | |
| - 'tests/**/*.py' | |
| - 'jenkins/pipelines/**/*.py' | |
| jobs: | |
| mypy: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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@v3 | |
| - 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 |