Fix hdsr (#185) #287
This file contains 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: Python Lint | |
on: | |
push: | |
branches: [main] | |
paths-ignore: [".teamcity/**"] | |
tags: ["*"] | |
pull_request: | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mypy: | |
name: Mypy | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout Ribasim-NL | |
uses: actions/checkout@v4 | |
with: | |
path: Ribasim-NL | |
# Ribasim needs to be checked out next to this repo even for the prod environment | |
- name: Checkout Ribasim | |
uses: actions/checkout@v4 | |
with: | |
repository: Deltares/Ribasim | |
path: Ribasim | |
- uses: prefix-dev/[email protected] | |
with: | |
manifest-path: Ribasim-NL/pixi.toml | |
pixi-version: "latest" | |
- name: Run mypy on hydamo | |
working-directory: Ribasim-NL | |
run: pixi run mypy-hydamo |