Skip to content

Commit

Permalink
add setup.py back to fix tox
Browse files Browse the repository at this point in the history
  • Loading branch information
wtbarnes committed Jan 4, 2024
1 parent b6f47f3 commit 1ca1bdd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@main
with:
test_extras: 'dev'
test_command: 'pytest -p no:warnings --doctest-rst --pyargs hissw'
test_command: 'pytest -p no:warnings --pyargs hissw'
submodules: false
python-version: '3.11'
secrets:
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from setuptools import setup

setup(use_scm_version=True)
8 changes: 1 addition & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ requires =

[testenv]

# The following option combined with the use of the tox-pypi-filter above allows
# project-wide pinning of dependencies, e.g. if new versions of pytest do not
# work correctly with pytest-astropy plugins. Most of the time the pinnings file
# should be empty.
pypi_filter_requirements = https://raw.githubusercontent.com/sunpy/sunpy/main/.test_package_pins.txt

# Pass through the following environment variables which may be needed for the CI
# Pass through the following environment variables which may be needed for the CI
passenv =
Expand Down Expand Up @@ -48,7 +42,7 @@ deps =
extras =
test
commands =
pytest --pyargs hissw {posargs}
python -m pytest --pyargs hissw {posargs}


[testenv:build_docs]
Expand Down

0 comments on commit 1ca1bdd

Please sign in to comment.