-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (35 loc) · 934 Bytes
/
mypy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Mypy Type Check
on:
push:
branches: [main, update/pixi-lock]
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:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
- name: Prepare pixi
run: pixi run --environment=dev install-ci
- name: Run mypy on python/ribasim
run: |
pixi run mypy-ribasim-python
- name: Run mypy on python/ribasim_testmodels
run: |
pixi run mypy-ribasim-testmodels
- name: Run mypy on python/ribasim_api
run: |
pixi run mypy-ribasim-api
- name: Run mypy on ribasim_qgis
run: |
pixi run mypy-ribasim-qgis