Skip to content

Commit

Permalink
test with docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jun 16, 2024
1 parent b5f122a commit 5e2edf0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:
check:
defaults: {run: {shell: 'bash -el {0}'}}
runs-on: ubuntu-latest
container:
image: ghcr.io/synerbi/sirf:latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with: {mamba-version: "*", channels: conda-forge}
- name: Install dependencies
run: |
conda activate test
if test -f apt.txt; then
sudo apt-get update
xargs -a apt.txt sudo apt-get install -y
Expand All @@ -27,7 +26,6 @@ jobs:
fi
- name: Test imports
run: |
conda activate test
python <<EOF
from main import Submission
from cil.optimisation.algorithms import Algorithm
Expand Down

0 comments on commit 5e2edf0

Please sign in to comment.