Skip to content

Commit

Permalink
update docs deps
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Oct 16, 2024
1 parent 6e7a5f4 commit ae0c0cf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,30 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test,dev]
- name: Linter
pip install -e .[test,toolkit]
- name: Test
run: |
pytest
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Linters
run: |
black --check src tests
ruff check .
- name: Annotate locations with typos
if: always()
uses: codespell-project/codespell-problem-matcher@v1
- name: Codespell
if: always()
uses: codespell-project/actions-codespell@v2
# Run tests
- name: Test
run: |
pytest
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies = [ # Optional
[project.optional-dependencies] # Optional
dev = ["black", "ruff", "isort"]
test = ["pytest", "pytest-cov", "pytest-sugar", "pytest-xdist"]
doc = ["myst-parser", "sphinx-copybutton","sphinx-gallery","sphinx-book-theme"]
doc = ["myst-parser", "sphinx-copybutton","sphinx-gallery","sphinx-book-theme","matplotlib", "pysap-fmri", "ipywidgets"]
toolkit = [ "matplotlib", "pysap-fmri"]
# List URLs that are relevant to your project
# This field corresponds to the "Project-URL" and "Home-Page" metadata fields:
Expand Down

0 comments on commit ae0c0cf

Please sign in to comment.