BFD-4071: Patient Identities filtering out kill credit #166
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 - Python | |
| on: | |
| pull_request: | |
| paths: | |
| - "**/*.py" | |
| - "**/*requirement*.txt" | |
| - "**/uv.lock" | |
| merge_group: | |
| env: | |
| BASE_COMMIT: "" | |
| GH_TOKEN: ${{ github.token }} | |
| jobs: | |
| matrix-pytest: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| projects: | |
| [ | |
| { | |
| projectName: "sftp-outbound-transfer-lambda", | |
| projectRoot: "ops/terraform/services/eft/lambda_src/sftp_outbound_transfer", | |
| testsRoot: "ops/terraform/services/eft/lambda_src/sftp_outbound_transfer/tests", | |
| pythonVersion: "3.13", | |
| }, | |
| ] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout code | |
| id: code-checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| # Install a specific version of uv. | |
| version: "0.7.8" | |
| - name: Run Python Tests per project | |
| id: run-pytest-set | |
| run: | | |
| echo "Testing ${{ matrix.projects.projectName }}" | |
| cd ${{ github.workspace }}/${{ matrix.projects.projectRoot }} | |
| uv python install | |
| uv sync | |
| uv run pytest ${{ github.workspace }}/${{ matrix.projects.testsRoot }} |