Skip to content

Commit

Permalink
CI: fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jun 27, 2024
1 parent 80efdd6 commit 5d9f3d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install dependencies
shell: bash -el {0}
run: |
source /opt/SIRF-SuperBuild/INSTALL/bin/env_sirf.sh
conda install -y tensorboard tensorboardx
if test -f apt.txt; then
sudo apt-get update
xargs -a apt.txt sudo apt-get install -y
Expand All @@ -25,7 +28,9 @@ jobs:
pip install -r requirements.txt
fi
- name: Test imports
shell: bash -el {0}
run: |
source /opt/SIRF-SuperBuild/INSTALL/bin/env_sirf.sh
python <<EOF
from main import Submission, submission_callbacks
from cil.optimisation.algorithms import Algorithm
Expand Down

0 comments on commit 5d9f3d5

Please sign in to comment.