diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml new file mode 100644 index 0000000..df7ca32 --- /dev/null +++ b/.github/workflows/mypy.yaml @@ -0,0 +1,27 @@ +# .github/workflows/mypy.yml +name: Mypy + +on: + pull_request: + branches: [ main ] + +jobs: + pytest: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run mypy + run: mypy . diff --git a/README.md b/README.md index 2544258..8e34f36 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,11 @@ -[](https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml) +
# cpp_fqn_parser