Skip to content

Commit

Permalink
fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-zieba committed Feb 21, 2024
1 parent d4bf90d commit 7632107
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -35,7 +35,6 @@ jobs:
- name: Test with pytest
run: |
pytest tests --cov=./src/pacman --cov-report=xml
pytest tests --cov=./src/pacman --cov-report=xml
- name: Upload coverage.xml as artifact
uses: actions/upload-artifact@v4
Expand Down
9 changes: 4 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ docs =
nbconvert
ipython_genutils
test =
pytest==7.4.0
pytest-doctestplus==0.13.0
pytest
pytest-doctestplus
flake8
pytest-cov==4.1.0
pytest-cov
photutils
astroquery
pytest-ordering==0.6
coverage==7.2.7
pytest-ordering

[options.package_data]
pacman =
Expand Down
2 changes: 1 addition & 1 deletion src/pacman/s10_direct_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ def run10(eventlabel, workdir: Path, meta=None):
# Save results
print('Saving Metadata')
me.saveevent(meta, meta.workdir / f'WFC3_{meta.eventlabel}_Meta_Save', save=[])
print('tmp: ', 2+13)
print('tmp: ', 2+3)
print('Finished s10 \n')
return meta

0 comments on commit 7632107

Please sign in to comment.