Skip to content
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

Switch to containerized CI using Conda #13

Merged
merged 12 commits into from
Jul 9, 2024
8 changes: 6 additions & 2 deletions .github/workflows/regressiontests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
regression_tests:
name: "Test: ${{ matrix.taskdir }}"
timeout-minutes: 1440
runs-on: self-hosted
runs-on: gpuagrohr-01
container:
image: ubuntu:22.04
defaults:
run:
shell: bash -el {0}
Expand All @@ -29,13 +31,15 @@ jobs:
- NIH3T3
- GOWT1-1
- GOWT1-2
- BBBC039

steps:

- name: Checkout
uses: actions/checkout@v2

- name: Clear cache # otherwise corrupted packages can be reported sometimes
run: rm -rf /github/home/conda_pkgs_dir

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:

run_testsuite:
name: Test suite
runs-on: self-hosted
runs-on: gpuagrohr-01
container:
image: ubuntu:22.04
defaults:
run:
shell: bash -el {0}
Expand All @@ -26,6 +28,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Clear cache # otherwise corrupted packages can be reported sometimes
run: rm -rf /github/home/conda_pkgs_dir

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ jobs:

validate_conditional_checks:
name: Validate conditional checks
runs-on: ubuntu-latest
timeout-minutes: 1440
runs-on: gpuagrohr-02
container:
image: ubuntu:22.04

steps:

- name: Install dependencies
run: |
apt-get update
apt-get install -y ca-certificates

- uses: blend/[email protected]
with:
Expand Down Expand Up @@ -57,13 +64,6 @@ jobs:
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test: BBBC039'
paths:
- .github/workflows/regressiontests.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test suite'
paths:
- .github/workflows/testsuite.yml
Expand Down
2 changes: 1 addition & 1 deletion superdsm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- brunsli=0.1=h9c3ff4c_0
- bzip2=1.0.8=hd590300_5
- c-ares=1.26.0=hd590300_0
- c-blosc2=2.13.2=hb4ffafa_0
- c-blosc2=2
- ca-certificates=2024.2.2=hbcca054_0
- certifi=2024.2.2=pyhd8ed1ab_0
- cfitsio=4.1.0=hd9d235c_0
Expand Down
Loading