Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yiheng Wang <[email protected]>
  • Loading branch information
yiheng-wang-nv committed Jan 26, 2024
1 parent 700d759 commit 17a8f78
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/premerge-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Setup Python 3.9
run: |
sudo apt-get update
sudo apt-get install -y python3.9
echo "alias python=python3.9" >> ~/.bashrc
source ~/.bashrc
- name: cache weekly timestamp
id: pip-cache
run: |
Expand All @@ -34,8 +36,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r requirements-dev.txt
python -m pip install cffi && python -m pip install pipenv
- name: check
run: |
# clean up temporary files
Expand Down
6 changes: 6 additions & 0 deletions ci/run_premerge_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ fi

verify_bundle() {
rm -rf /opt/hostedtoolcache
# Reinstall Python 3.9
sudo apt-get update
sudo apt-get install -y python3.9

# Create a symbolic link to ensure python points to python3.9
sudo ln -s /usr/bin/python3.9 /usr/bin/python
echo 'Run verify bundle...'
pip install -r requirements.txt
head_ref=$(git rev-parse HEAD)
Expand Down
3 changes: 2 additions & 1 deletion models/valve_landmarks/configs/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220729.json",
"version": "0.5.0",
"version": "0.5.1",
"changelog": {
"0.5.1": "test",
"0.5.0": "Fix transform usage",
"0.4.3": "README.md fix",
"0.4.2": "add name tag",
Expand Down

0 comments on commit 17a8f78

Please sign in to comment.