-
Notifications
You must be signed in to change notification settings - Fork 192
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
CI: fix failed test_containerized.py integration test for containerized code #6707
base: main
Are you sure you want to change the base?
Conversation
68cd23a
to
3dce90e
Compare
3dce90e
to
a15d772
Compare
90cbba7
to
f548f6e
Compare
c103b03
to
9ca39b6
Compare
acd6a15
to
237de85
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6707 +/- ##
=======================================
Coverage 77.99% 77.99%
=======================================
Files 563 563
Lines 41762 41762
=======================================
Hits 32570 32570
Misses 9192 9192 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup!
- name: Run daemon nightly tests | ||
id: daemon-tests | ||
run: source .venv/bin/activate && .github/workflows/daemon_tests.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: source .venv/bin/activate && .github/workflows/daemon_tests.sh | |
run: .github/workflows/daemon_tests.sh |
I thing the venv is already activated by setup-uv action
@@ -55,9 +55,6 @@ jobs: | |||
|
|||
steps: | |||
- uses: actions/checkout@v4 | |||
- uses: eWaterCycle/setup-singularity@v7 # for containerized code test | |||
with: | |||
singularity-version: 3.8.7 | |||
|
|||
- name: Install system dependencies | |||
run: sudo apt update && sudo apt install postgresql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should be installing graphviz here?
fixes #6709
The test is run in nightly.yml as integration test for running containerized code.
The problem may because the new ubuntu don't allow the container to get root permission even for singularity. Since singularity is anyway outdated and we support docker as containerized code engine. I change it to use docker to run the code from a image.
This also remove the CI action (which has no maintains for around 2 years) of building singularity.