Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark tweaks #62

Merged
merged 22 commits into from
Dec 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
install all deps in linter
paquiteau committed Nov 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c9c85eac7d5fc9c0d109187db7e8480d6f360e85
12 changes: 10 additions & 2 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
@@ -25,12 +25,16 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip

- name: Black setup
- name: Install Python deps
shell: bash
run: pip install black ruff
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test,dev]

- name: Black Check
shell: bash
run: black . --diff --color --check

- name: ruff Check
shell: bash
run: ruff src
@@ -58,6 +62,10 @@ jobs:
run: |
sudo apt install -y libnfft3-dev
python --version

- name: Install Python Deps
shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test]

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ dynamic = ["version"]
[project.optional-dependencies]

gpu = ["cupy-wheel"]
test = ["pytest", "pytest-cov", "pytest-xdist", "pytest-sugar", "pytest-cases", "pynfft2"]
test = ["pytest", "pytest-cov", "pytest-xdist", "pytest-sugar", "pytest-cases"]
dev = ["black", "isort", "ruff"]

doc = ["sphinx-book-theme","sphinx-copybutton", "sphinx-gallery", "matplotlib", "pooch", "brainweb-dl"]