Skip to content

Commit 8d0bb35

Browse files
committed
fix test issues and limit coverage to new python code
1 parent 1d2c17f commit 8d0bb35

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/test-ingest-python-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
3838
- name: Run test suite (without coverage)
3939
run: |
40-
./scripts/automated_ingestion/pytest.sh scripts/automated_ingestion -verbose
40+
./scripts/automated_ingestion/pytest.sh scripts/automated_ingestion --verbose
4141
4242
- name: Run test suite (with coverage)
4343
run: |
4444
python -m pip install pytest-cov
45-
./scripts/automated_ingestion/pytest.sh scripts/automated_ingestion -q --cov=$PWD
45+
./scripts/automated_ingestion/pytest.sh scripts/automated_ingestion -q --cov=scripts/automated_ingestion/eessi_logging.py
4646
4747
- name: Run flake8 to verify PEP8-compliance of Python code
4848
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build
22
hosts
3+
.coverage
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[run]
2+
omit =
3+
scripts/automated_ingestion/automated_ingestion.py
4+
scripts/automated_ingestion/eessitarball.py
5+
scripts/automated_ingestion/utils.py

0 commit comments

Comments
 (0)