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
6 changes: 3 additions & 3 deletions .github/workflows/core-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[check,extra]"
python -m pip install ".[extra]" --group check
- name: Lint with Ruff
run: ruff check metasyn
- name: Check types with MyPy
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[test,extra]"
python -m pip install -e ".[extra]" --group test
- name: Test with pytest
if: ${{ matrix.python-version != '3.12' }} # Either do coverage testing or pytest only
run: pytest tests
Expand Down Expand Up @@ -92,6 +92,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[docs]"
python -m pip install . --group docs
- name: Build docs
run: sphinx-build -M html docs/source docs/build
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ documentation = "https://metasyn.readthedocs.io/en/latest/index.html"
[project.optional-dependencies]
extra = ["xlsxwriter", "tomlkit",
"pyreadstat>=1.3", "fastexcel"]

[dependency-groups]
check = ["ruff", "mypy", "types-tqdm", "types-regex"]
test = ["pytest", "nbval", "pytest-cov", "pandas"]
docs = [
Expand All @@ -55,7 +57,10 @@ docs = [
"sphinx-autobuild"
]
dev = [
"metasyn[extra,check,test,docs]"
"metasyn[extra]",
{include-group = "check"},
{include-group = "test"},
{include-group = "docs"},
]

[project.scripts]
Expand Down
Loading