File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 if : steps.cache-micromamba.outputs.cache-hit != 'true'
4040 run : |
4141 uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
42- uv pip install -e .
42+ uv pip install -e .[dev]
4343 - name : Run pytest
4444 uses : deargen/workflows/actions/run-pytest@master
4545
7070 if : steps.cache-micromamba.outputs.cache-hit != 'true'
7171 run : |
7272 uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
73- uv pip install -e .
73+ uv pip install -e .[dev]
7474 - name : Run doctest
7575 uses : deargen/workflows/actions/run-doctest@master
7676
Original file line number Diff line number Diff line change 1+ name : Type checking
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ basedpyright :
16+ runs-on : ubuntu-24.04
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Setup Python and uv
20+ uses : deargen/workflows/actions/setup-python-and-uv@master
21+ - name : Install dependencies
22+ run : |
23+ uv venv
24+ source .venv/bin/activate
25+ uv pip install basedpyright
26+ uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
27+ uv pip install -e .[dev]
28+ - name : Type checking
29+ run : |
30+ source .venv/bin/activate
31+ basedpyright
Original file line number Diff line number Diff line change 44| --| --|
55| [ ![ Ruff] ( https://img.shields.io/badge/Ruff-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://github.com/astral-sh/ruff ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Style%20checking/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
66| [ ![ Ruff] ( https://img.shields.io/badge/Ruff-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://github.com/astral-sh/ruff ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Linting/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
7+ | [ ![ basedpyright] ( https://img.shields.io/badge/basedpyright-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://github.com/DetachHead/basedpyright ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Type%20checking/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
78| [ ![ pytest] ( https://img.shields.io/badge/pytest-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://github.com/pytest-dev/pytest ) [ ![ doctest] ( https://img.shields.io/badge/doctest-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://docs.python.org/3/library/doctest.html ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Tests/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
89| [ ![ uv] ( https://img.shields.io/badge/uv-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54 )] ( https://github.com/astral-sh/uv ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Check%20pip%20compile%20sync/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
910| [ ![ Built with Material for MkDocs] ( https://img.shields.io/badge/Material_for_MkDocs-526CFE?style=for-the-badge&logo=MaterialForMkDocs&logoColor=white )] ( https://squidfunk.github.io/mkdocs-material/ ) | [ ![ Actions status] ( https://github.com/deargen/python-project-template-2024/workflows/Deploy%20MkDocs%20on%20latest%20commit/badge.svg )] ( https://github.com/deargen/python-project-template-2024/actions ) |
You can’t perform that action at this time.
0 commit comments