File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 28
28
- name : Check format
29
29
working-directory : ${{ matrix.lib }}
30
30
run : poetry run black --check .
31
+
32
+ typing :
33
+ runs-on : ubuntu-latest
34
+ strategy :
35
+ matrix :
36
+ lib :
37
+ - scaleway-core
38
+ - scaleway
39
+ - scaleway-async
40
+ steps :
41
+ - uses : actions/checkout@v2
42
+ - name : Set up Python
43
+ uses : actions/setup-python@v2
44
+ with :
45
+ python-version : 3.8
46
+ - name : Install poetry
47
+ working-directory : ${{ matrix.lib }}
48
+ run : |
49
+ pip install poetry
50
+ poetry --version
51
+ - name : Install dependencies
52
+ working-directory : ${{ matrix.lib }}
53
+ run : poetry install --no-root
54
+ - name : Check typing
55
+ working-directory : ${{ matrix.lib }}
56
+ run : poetry run mypy --install-types --non-interactive --strict $(echo "${{ matrix.lib }}" | tr "-" "_")
You can’t perform that action at this time.
0 commit comments