We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e672383 commit 833909bCopy full SHA for 833909b
.github/workflows/all_tests.yml
@@ -10,8 +10,13 @@ jobs:
10
steps:
11
- uses: actions/checkout@v4
12
- uses: ./.github/actions/setup-python
13
- - name: Type check
14
- run: python3 -m pip install mypy && mypy --check-untyped-defs src/__main__.py src/downloader
+ - run: |
+ set -euo pipefail
15
+ python3 -m pip install mypy
16
+ mypy --check-untyped-defs src/__main__.py src/downloader > mypy_output.txt 2>&1 || true
17
+ TYPE_ERRORS=$(grep -c "error:" mypy_output.txt || echo "0")
18
+ cat mypy_output.txt
19
+ echo "**Type Check:** Found $TYPE_ERRORS type errors" >> $GITHUB_STEP_SUMMARY
20
21
unit-tests:
22
runs-on: ubuntu-latest
0 commit comments