Skip to content

Commit 8354c4a

Browse files
committed
Read requirements for static typing from 'tests/typing/'.
1 parent 323fa17 commit 8354c4a

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/StaticTypeCheck.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838
requirements:
3939
description: 'Python dependencies to be installed through pip.'
4040
required: false
41-
default: '-r tests/requirements.txt'
41+
default: '-r tests/typing/requirements.txt'
4242
type: string
4343
mypy_options:
4444
description: 'Additional mypy options.'
@@ -49,18 +49,18 @@ on:
4949
description: 'Cobertura file to upload as an artifact.'
5050
required: false
5151
default: >-
52-
{ "fullpath": "report/typing/cobertura.xml",
52+
{ "fullpath": "report/typing/cobertura.xml",
5353
"directory": "report/typing",
54-
"filename": "cobertura.xml"
54+
"filename": "cobertura.xml"
5555
}
5656
type: string
5757
junit_report:
5858
description: 'JUnit file to upload as an artifact.'
5959
required: false
6060
default: >-
61-
{ "fullpath": "report/typing/StaticTypingSummary.xml",
61+
{ "fullpath": "report/typing/StaticTypingSummary.xml",
6262
"directory": "report/typing",
63-
"filename": "StaticTypingSummary.xml"
63+
"filename": "StaticTypingSummary.xml"
6464
}
6565
type: string
6666
html_report:

tests/typing/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-r ../../requirements.txt
2+
3+
# Static Type Checking
4+
mypy[reports] ~= 1.19
5+
typing_extensions ~= 4.15
6+
lxml >= 5.4, <7.0

0 commit comments

Comments
 (0)