diff --git a/.github/workflows/StaticTypeCheck.yml b/.github/workflows/StaticTypeCheck.yml index 5d5a327..6f90bfa 100644 --- a/.github/workflows/StaticTypeCheck.yml +++ b/.github/workflows/StaticTypeCheck.yml @@ -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: diff --git a/tests/typing/requirements.txt b/tests/typing/requirements.txt new file mode 100644 index 0000000..95ab13e --- /dev/null +++ b/tests/typing/requirements.txt @@ -0,0 +1,6 @@ +-r ../../requirements.txt + +# Static Type Checking +mypy[reports] ~= 1.19 +typing_extensions ~= 4.15 +lxml >= 5.4, <7.0