Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -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 .
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[![Pytest](https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml/badge.svg)](https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml)
<p align="center">
<a href="https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml">
<img src="https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml/badge.svg" alt="Pytest Status">
</a>
<a href="https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/mypy.yaml">
<img src="https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/mypy.yaml/badge.svg" alt="Mypy Status">
</a>
</p>


# cpp_fqn_parser
Expand Down