Skip to content

Commit 7151a5c

Browse files
authored
Update test_pipeline.yml to run on github resources
1 parent c5f7086 commit 7151a5c

File tree

1 file changed

+33
-35
lines changed

1 file changed

+33
-35
lines changed

.github/workflows/test_pipeline.yml

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010

1111
jobs:
1212
Test-QCD-Pipeline:
13-
#runs-on: ubuntu-latest
14-
runs-on: self-hosted
13+
runs-on: ubuntu-latest
14+
#runs-on: self-hosted
1515
steps:
1616
# - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
1717
# - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
@@ -32,18 +32,15 @@ jobs:
3232
3333
- name: Set up Miniconda
3434
uses: conda-incubator/setup-miniconda@v2
35-
env:
36-
CONDA: "/Users/Dhatrib/miniconda3"
35+
# env:
36+
# CONDA: "/Users/Dhatrib/miniconda3"
3737
with:
38-
# export CONDA="/Users/Dhatrib/miniconda3"
39-
# export PATH="$CONDA/bin:$PATH"
40-
#CONDA: "/Users/Dhatrib/miniconda3"
4138
#miniconda-version: "latest"
4239
python-version: '3.10'
4340
auto-update-conda: true
4441
activate-environment: 'qcd_env_test'
4542
environment-file: 'qcd_environment_shr.yaml'
46-
#use-channel-priority: true
43+
use-channel-priority: true
4744

4845
# - name: SSh into Actions
4946
# uses: actions/checkout@v4
@@ -52,8 +49,9 @@ jobs:
5249

5350
- name: Install pip dependencies
5451
run: |
55-
source /Users/Dhatrib/miniconda3/etc/profile.d/conda.sh
56-
conda init
52+
#source /Users/Dhatrib/miniconda3/etc/profile.d/conda.sh
53+
#conda init
54+
source $CONDA/bin/activate
5755
conda activate qcd_env_test
5856
pip install --requirement .test/requirements.txt
5957
pip install dropbox
@@ -90,37 +88,37 @@ jobs:
9088
# ./mconfig --without-suid && \
9189
# make -C ./builddir && \
9290
# make -C ./builddir install
93-
- name: Install Go
94-
run: |
95-
brew install go
96-
go version
91+
# - name: Install Go
92+
# run: |
93+
# brew install go
94+
# go version
9795

98-
- name: Install dependencies using Homebrew
99-
run: |
100-
brew install wget
101-
brew install go
102-
brew install squashfs
96+
# - name: Install dependencies using Homebrew
97+
# run: |
98+
# brew install wget
99+
# brew install go
100+
# brew install squashfs
103101

104-
- name: Download Singularity
105-
run: |
106-
wget https://github.com/sylabs/singularity/archive/refs/tags/v3.8.3.tar.gz
107-
tar -xzf singularity-3.8.3.tar.gz
102+
# - name: Download Singularity
103+
# run: |
104+
# wget https://github.com/sylabs/singularity/archive/refs/tags/v3.8.3.tar.gz
105+
# tar -xzf singularity-3.8.3.tar.gz
108106

109-
- name: Install Singularity
110-
run: |
111-
cd singularity
112-
./mconfig
113-
make -C builddir
114-
sudo make -C builddir install
107+
# - name: Install Singularity
108+
# run: |
109+
# cd singularity
110+
# ./mconfig
111+
# make -C builddir
112+
# sudo make -C builddir install
115113

116-
- name: Verify Singularity installation
117-
run: singularity --version
114+
# - name: Verify Singularity installation
115+
# run: singularity --version
118116

119117
#https://github.com/sylabs/singularity/archive/refs/tags/v3.8.3.tar.gz
120-
# - name: Install singularity
121-
# uses: eWaterCycle/setup-singularity@v7
122-
# with:
123-
# singularity-version: 3.8.3
118+
- name: Install singularity
119+
uses: eWaterCycle/setup-singularity@v7
120+
with:
121+
singularity-version: 3.8.3
124122
# - name: Export Singularity Path
125123
# run: |
126124
# export PATH=/home/runner/go/src/github.com/hpcng/singularity-3.8.3/prefix/bin:$PATH

0 commit comments

Comments
 (0)