Skip to content

Commit

Permalink
Try the image from ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
namannimmo10 committed Aug 15, 2024
1 parent 98bbdbd commit 4f474b9
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/tests_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ on:
branches:
- main

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}

jobs:
build-linux:
runs-on: iris-gpu
container:
image: nvidia/cuda:11.6.2-devel-ubi8
image: ghcr.io/diamondlightsource/httomolibgpu:dockerfile
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}

Expand All @@ -40,7 +34,6 @@ jobs:

- name: Install httomolibgpu & coverage tools
run: |
micromamba install -y git mercurial
pip install .[dev]
pip install coverage
micromamba list
Expand All @@ -50,12 +43,8 @@ jobs:
coverage run -m pytest tests/
coverage xml -o /home/runner/coverage.xml
- name: Ensure git is in the path
run: |
echo "/home/runner/micromamba/envs/httomo/bin" >> $GITHUB_PATH
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/coverage.xml
Expand Down

0 comments on commit 4f474b9

Please sign in to comment.