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

[DO NOT MERGE] test coverage #207

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 4 additions & 17 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,17 @@ jobs:

tests:
needs: initial_checks
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
uses: zacharyburnett/github-actions-workflows/.github/workflows/tox.yml@tox/coverage_github_actions
with:
setenv: |
jref: "https://ssb.stsci.edu/trds_open/jref"
submodules: false
coverage: ''
coverage: github
envs: |
- name: Lint with flake8
linux: codestyle

# Make sure that packaging will work
- name: pep517 build
linux: twine

- name: Security audit
linux: bandit

- name: Check links
linux: linkcheck

- name: Python 3.9 with remote data and all dependencies
linux: py39-test-alldeps
posargs: --remote-data -v
posargs: -v

- name: Python 3.12 with remote data and dev dependencies
linux: py312-test-devdeps
posargs: --remote-data -v
posargs: -v
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ all =
dask
test =
pytest
pytest-cov
pytest-astropy-header
pytest-remotedata
ci-watson
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ extras =
predeps: all

commands =
# Force numpy-dev after matplotlib downgrades it (https://github.com/matplotlib/matplotlib/issues/26847)
devdeps: python -m pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
# photutils has C-extension and must be built with numpy-dev in devdeps
devdeps: python -m pip install --pre --upgrade git+https://github.com/astropy/photutils.git
pip freeze
Expand Down
Loading