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

Fix notebook tests #320

Merged
merged 11 commits into from
Dec 20, 2023
Merged

Fix notebook tests #320

merged 11 commits into from
Dec 20, 2023

Conversation

teutoburg
Copy link
Contributor

Rework the notebook tests to have a single workflow actually running the notebooks, with two separate workflows requesting it with or without git cloning the IRDB repo.

@teutoburg teutoburg added refactor Implementation improvement tests Related to unit or integration tests labels Dec 20, 2023
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d557793) 77.04% compared to head (705e7e6) 77.04%.

Additional details and impacted files
@@             Coverage Diff             @@
##           dev_master     #320   +/-   ##
===========================================
  Coverage       77.04%   77.04%           
===========================================
  Files              57       57           
  Lines            7705     7705           
===========================================
  Hits             5936     5936           
  Misses           1769     1769           

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

@hugobuddel
Copy link
Collaborator

I'd say this works now

@teutoburg teutoburg marked this pull request as ready for review December 20, 2023 16:16
@teutoburg teutoburg merged commit 225fb41 into dev_master Dec 20, 2023
18 checks passed
@teutoburg teutoburg deleted the fh/notebook-dispatch branch December 20, 2023 16:16
@@ -1,53 +1,56 @@
#!/usr/bin/env bash

echo "# Running Notebooks Tests" >> $GITHUB_STEP_SUMMARY
# https://betterdev.blog/minimal-safe-bash-script-template/
set -Eeuo pipefail
Copy link
Collaborator

Choose a reason for hiding this comment

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

Uch, I messed this up, because I did not try to run the script without any parameters. If $1 is unset, the script breaks. See https://github.com/AstarVienna/ScopeSim_Data/actions/runs/7405748794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Implementation improvement tests Related to unit or integration tests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants