-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pandas>2 and networkx>3 for simulation module and some unit tests #71 Add unit tests. Github Actions skip on error for Code Climate failures to avoid failing the entire workflow (even if tests are ok) just because it didn't have access to CC token for uploading coverage report. --------------------------------------------------------- * Allow networkx >3 dependency --------- Signed-off-by: Diane Vincent <diane.vincent78@gmail.com> * Allow pandas>2 dependency * Add tests Different link types: - test_affine_linking - test_poly_linking - test_exp_linking - test_log_linking Effect modifier: check that it behaves correctly with marginal structural model - test_effect_modifier * Dummy commit to engage CodeClimate? It seems forked-branch pull-request do not initiate CodeClimate properly, causing the entire PR look like it failed. The problem is that the forked PR doesn't have access to the upstream's secret, so CodeClimate doesn't have its token: https://github.com/BiomedSciAI/causallib/actions/runs/10010566187/job/27714442507?pr=71#step:8:17 Before I contemplate whether to make that not-really-secret secret a hardcoded token instead, I want to test whether making a dummy commit by a permitted account could make it run properly. Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com> * Don't fail entire pipeline for failed coverage report upload Forked PRs have no access to secrets, so uploading a coverage report to Code Climate can fail as no token will be provided. To avoid that failing the entire workflow, try to make that step optional and see what happens on Github Actions. Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com> --------- Signed-off-by: Diane Vincent <diane.vincent78@gmail.com> Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com> Co-authored-by: Diane Vincent <diane.vincent78@gmail.com> Co-authored-by: ehudkr <ehudkaravani@gmail.com> Co-authored-by: Ehud Karavani <15989012+ehudkr@users.noreply.github.com> Co-authored-by: Ehud-Karavani <ehud.karavani@ibm.com>
- Loading branch information
1 parent
bdf033c
commit 52ba5ea
Showing
3 changed files
with
103 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters