Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Proof of concept: refactor astropy-helpers into extension-helpers #503

Closed
wants to merge 17 commits into from
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
14 changes: 7 additions & 7 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[run]

source = astropy_helpers
source = extension_helpers

omit =
astropy_helpers/*/setup_package.py
astropy_helpers/tests/*
astropy_helpers/conftest.py
extension_helpers/*/setup_package.py
extension_helpers/tests/*
extension_helpers/conftest.py

[report]

omit =
astropy_helpers/*/setup_package.py
astropy_helpers/tests/*
astropy_helpers/conftest.py
extension_helpers/*/setup_package.py
extension_helpers/tests/*
extension_helpers/conftest.py

exclude_lines =
# Have to re-enable the standard pragma
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ __pycache__

# Other generated files
MANIFEST
astropy_helpers/version.py
astropy_helpers/cython_version.py
extension_helpers/version.py
extension_helpers/cython_version.py

# Sphinx
_build
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ before_script:
script:

# First run tests in the repository
- pytest --cov astropy_helpers astropy_helpers
- pytest --cov extension_helpers extension_helpers

# In conftest.py we produce a .coverage.subprocess that contains coverage
# statistics for sub-processes, so we combine it with the main one here.
Expand All @@ -142,9 +142,9 @@ script:
- cd dist
- tar xvzf *.tar.gz
- rm *.tar.gz
- cd astropy-helpers*
- cp -RP ../../astropy_helpers/tests astropy_helpers/tests
- pytest astropy_helpers
- cd extension-helpers*
- cp -RP ../../extension_helpers/tests extension_helpers/tests
- pytest extension_helpers

after_success:
- codecov
Loading