-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: error in linting setup and deprecation warning
there is deprecation warning stemming from dash-testing that they need to handle.
- Loading branch information
1 parent
faa6948
commit 1817512
Showing
3 changed files
with
42 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,16 @@ jobs: | |
name: Style | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- uses: psf/black@stable | ||
- uses: pre-commit/[email protected] | ||
- name: Install dependencies | ||
run: pip install -r requirements_testing.txt | ||
# Run Ruff | ||
- name: Run Ruff | ||
run: ruff pylossless | ||
# Run Codespell | ||
- name: Run Codespell | ||
run: codespell pylossless docs | ||
- uses: actions/checkout@v3 | ||
with: | ||
python-version: "3.11" | ||
- uses: psf/black@stable | ||
- uses: pre-commit/[email protected] | ||
- name: Install dependencies | ||
run: pip install -r requirements_testing.txt | ||
# Run Ruff | ||
- name: Run Ruff | ||
run: ruff pylossless | ||
# Run Codespell | ||
- name: Run Codespell | ||
run: codespell pylossless docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
name: Test pipeline | ||
|
||
on: pull_request | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- name: Install Pylossless & Deps | ||
run: pip install -e . | ||
- name: Install testing dependencies | ||
run: pip install -r requirements_testing.txt | ||
- name: Install QC depedencies | ||
run: pip install -r requirements_qc.txt | ||
- name: install openneuro | ||
run: pip install openneuro-py | ||
- name: Test Pipeline | ||
run: | | ||
coverage run -m pytest | ||
- name: Upload coverage to codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- name: Install Pylossless & Deps | ||
run: pip install -e . | ||
- name: Install testing dependencies | ||
run: pip install -r requirements_testing.txt | ||
- name: Install QC depedencies | ||
run: pip install -r requirements_qc.txt | ||
- name: install openneuro | ||
run: pip install openneuro-py | ||
- name: Test Pipeline | ||
run: | | ||
coverage run -m pytest | ||
- name: Upload coverage to codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters