Skip to content

[pdp] Refine data assessment template nb #195

[pdp] Refine data assessment template nb

[pdp] Refine data assessment template nb #195

Workflow file for this run

name: type-check
on:
pull_request: # any pull request
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: ./.github/actions/setup-python-env
with:
python-version: "3.10"
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
src/**/*.py
- name: Check types
if: steps.changed-files.outputs.any_changed == 'true'
run: |
uv run python -m mypy --install-types --non-interactive ${{ steps.changed-files.outputs.all_changed_files }}