Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA fix #204

Merged
merged 18 commits into from
Jan 4, 2024
Merged

GHA fix #204

merged 18 commits into from
Jan 4, 2024

Conversation

Xiangs18
Copy link
Contributor

@Xiangs18 Xiangs18 commented Jan 2, 2024

No description provided.

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8c6948) 65.00% compared to head (f9857e8) 14.86%.

❗ Current head f9857e8 differs from pull request most recent head 9d805fe. Consider uploading reports for the commit 9d805fe to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #204       +/-   ##
===========================================
- Coverage   65.00%   14.86%   -50.14%     
===========================================
  Files          11       11               
  Lines        2886     2886               
===========================================
- Hits         1876      429     -1447     
- Misses       1010     2457     +1447     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Xiangs18
Copy link
Contributor Author

Xiangs18 commented Jan 4, 2024

In f9857e8, when tests pass, GHA passes
In 9d805fe, when tests fail, GHA fails

I will squash and merge this PR as most of the commits are experiments/tests.

@@ -51,7 +51,6 @@ build-test-script:
echo 'export PYTHONPATH=$$script_dir/../$(LIB_DIR):$$PATH:$$PYTHONPATH' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'cd $$script_dir/../$(TEST_DIR)' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'python -m nose --with-coverage --cover-package=$(SERVICE_CAPS) --cover-html --cover-html-dir=/kb/module/work/test_coverage --cover-xml --cover-xml-file=/kb/module/work/test_coverage/coverage.xml --nocapture --nologcapture .' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'cp /kb/module/.coveragerc .' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are this and the other line dealing with .coveragerc not needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. this file does not exist: https://github.com/kbaseapps/GenomeFileUtil/actions/runs/7404244710/job/20145462822#step:6:1100
  2. Upload coverage to Codecov step works fine without it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, it looks like when coverage was added to this repo no one added a coveragerc but did add the line: 8005699

Copy link
Contributor

@Tianhao-Gu Tianhao-Gu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Xiangs18 Xiangs18 merged commit d67e35b into master Jan 4, 2024
1 check failed
@Xiangs18 Xiangs18 deleted the gha_fix branch January 4, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants