Commit 10b6175 1 parent 5e3bdf9 commit 10b6175 Copy full SHA for 10b6175
File tree 1 file changed +26
-1
lines changed
1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Run pytest
1
+ name : Run pytest and mypy
2
2
3
3
on :
4
4
workflow_call :
62
62
fail_ci_if_error : true
63
63
slug : PGScatalog/pygscatalog
64
64
flags : ${{ inputs.package-directory }}
65
+
66
+ mypy :
67
+ runs-on : ubuntu-latest
68
+
69
+ steps :
70
+ - uses : actions/checkout@v4
71
+
72
+ - name : Install Python
73
+ uses : actions/setup-python@v5
74
+ with :
75
+ python-version : ${{ inputs.python-version }}
76
+ cache : ' pip'
77
+
78
+ - uses : actions/cache@v4
79
+ with :
80
+ path : ${{ inputs.package-directory }}/.venv
81
+ key : venv-${{ hashFiles('**/poetry.lock') }}
82
+
83
+ - run : pip install poetry
84
+
85
+ - run : poetry install --with dev --all-extras
86
+ working-directory : ${{ inputs.package-directory }}
87
+
88
+ - run : mypy # import to run in top level directory
89
+
You can’t perform that action at this time.
0 commit comments