Skip to content

Commit

Permalink
fixed coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-zieba committed Feb 21, 2024
1 parent 96d24c3 commit 39463b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ jobs:
pip install -e ".[test]"
- name: Test with pytest
# run: |
# pytest tests --cov=./src/pacman --cov-report=xml -s
run: |
pytest tests --cov=./src/pacman --cov-report=xml -s
if [ "${{ matrix.python-version }}" == "3.8" ]; then
pytest tests --cov=./src/pacman --cov-report=xml -s
else
pytest tests --cov=./src/pacman -s
fi
- name: Upload coverage.xml as artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion src/pacman/s30_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
def run30(eventlabel: str, workdir: Path, meta=None):
"""This functions reads in the spectroscopic or white light curve(s) and
fits a model to them."""
print('Starting s30')
print('Starting s30\n')

if meta is None:
meta = me.loadevent(workdir / f'WFC3_{eventlabel}_Meta_Save')
Expand Down

0 comments on commit 39463b3

Please sign in to comment.