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 89c6128
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,31 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test,dev]
- name: Linter
pip install finufft ipywidgets
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
Binary file modified docs/_static/logos/snake-fmriV2-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"home_page_in_toc": True,
"logo": {
"image_light": "_static/logos/snake-fmriV2-logo.png",
"image_dark": "_static/logos/snake-fmriV2-logo.png",
"image_dark": "_static/logos/snake-fmriV2-logo_dark.png",
},
}
html_title = "SNAKE-fMRI Documentation"
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 89c6128

Please sign in to comment.