mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-11 18:46:55 +08:00
Read requirements for static typing from 'tests/typing/'.
This commit is contained in:
10
.github/workflows/StaticTypeCheck.yml
vendored
10
.github/workflows/StaticTypeCheck.yml
vendored
@@ -38,7 +38,7 @@ on:
|
||||
requirements:
|
||||
description: 'Python dependencies to be installed through pip.'
|
||||
required: false
|
||||
default: '-r tests/requirements.txt'
|
||||
default: '-r tests/typing/requirements.txt'
|
||||
type: string
|
||||
mypy_options:
|
||||
description: 'Additional mypy options.'
|
||||
@@ -49,18 +49,18 @@ on:
|
||||
description: 'Cobertura file to upload as an artifact.'
|
||||
required: false
|
||||
default: >-
|
||||
{ "fullpath": "report/typing/cobertura.xml",
|
||||
{ "fullpath": "report/typing/cobertura.xml",
|
||||
"directory": "report/typing",
|
||||
"filename": "cobertura.xml"
|
||||
"filename": "cobertura.xml"
|
||||
}
|
||||
type: string
|
||||
junit_report:
|
||||
description: 'JUnit file to upload as an artifact.'
|
||||
required: false
|
||||
default: >-
|
||||
{ "fullpath": "report/typing/StaticTypingSummary.xml",
|
||||
{ "fullpath": "report/typing/StaticTypingSummary.xml",
|
||||
"directory": "report/typing",
|
||||
"filename": "StaticTypingSummary.xml"
|
||||
"filename": "StaticTypingSummary.xml"
|
||||
}
|
||||
type: string
|
||||
html_report:
|
||||
|
||||
6
tests/typing/requirements.txt
Normal file
6
tests/typing/requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
-r ../../requirements.txt
|
||||
|
||||
# Static Type Checking
|
||||
mypy[reports] ~= 1.19
|
||||
typing_extensions ~= 4.15
|
||||
lxml >= 5.4, <7.0
|
||||
Reference in New Issue
Block a user