Skip to content

Commit

Permalink
Merge pull request #49 from steven-murray/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
steven-murray authored Jan 9, 2024
2 parents 7109469 + d0e83f9 commit 460b73b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/run-docs-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
run: |
pip install .[dev]
pip install papermill ipykernel
conda list
- name: Install ipykernel
run: python -m ipykernel install --user --name docs --display-name "docs"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
run: |
python -m pytest --cov=powerbox --cov-config=.coveragerc --cov-report xml:./coverage.xml --junitxml=test-reports/xunit.xml
- uses: codecov/codecov-action@v2
if: success()
- name: Upload Test Coverage
uses: codecov/[email protected]
with:
file: ./coverage.xml #optional
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
args: ['--fix=no']

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ docs = [
"sphinx_rtd_theme",
"sphinx-automodapi==0.7",
"matplotlib",
"hmf"
"hmf",
"packaging", # required for camb
]
dev = [
"powerbox[tests,docs]",
Expand Down

0 comments on commit 460b73b

Please sign in to comment.