diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 2a0502f9..606491c5 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -19,9 +19,21 @@ jobs: cache: "pip" cache-dependency-path: | **/*requirements*.txt + - name: Install apt deps run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev + - name: Install dependencies run: pip install -Ur requirements-dev.txt + - name: Test with mypy - run: pre-commit run mypy --all + run: mypy --cobertura-xml-report . . + + - uses: codecov/codecov-action@v4 + with: + name: types + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + disable_search: true + file: cobertura.xml + flags: types diff --git a/.gitignore b/.gitignore index 0a8cb56f..83e3ae43 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ config.json .vagrant/ .mypy_cache/ .DS_Store +cobertura.xml