From 6edb48db66fe696040ac6b71fd02898ead2ce95f Mon Sep 17 00:00:00 2001 From: "Sebastian Zieba (astronodes)" Date: Wed, 21 Feb 2024 06:41:42 +0100 Subject: [PATCH] fixing coverage --- .github/workflows/ci.yml | 9 +-------- src/pacman/s10_direct_images.py | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index becc463..e2eb274 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,15 +35,8 @@ 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 reports to Codecov with GitHub Action - # uses: codecov/codecov-action@v3 - # with: - # env_vars: OS,PYTHON - # files: ./coverage.xml - # fail_ci_if_error: true - # verbose: true - name: Upload coverage.xml as artifact uses: actions/upload-artifact@v2 with: diff --git a/src/pacman/s10_direct_images.py b/src/pacman/s10_direct_images.py index 3455559..fa3ff58 100644 --- a/src/pacman/s10_direct_images.py +++ b/src/pacman/s10_direct_images.py @@ -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+2) + print('tmp: ', 2+13) print('Finished s10 \n') return meta