Skip to content

Commit d35a4b9

Browse files
committed
Fixing CI action for apptainer
1 parent 51f65e0 commit d35a4b9

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/apptainer.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
max-parallel: 5
1818
matrix:
19-
python: [3.7, 3.8, 3.9]
19+
python: [3.8, 3.9, '3.10']
2020
fail-fast: false
2121

2222

@@ -28,25 +28,20 @@ jobs:
2828
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
2929
- name: install graphviz
3030
run: |
31-
sudo apt-get install -y graphviz
31+
sudo apt update
32+
sudo apt-get install -y graphviz software-properties-common
33+
sudo add-apt-repository -y ppa:apptainer/ppa
34+
sudo apt update
35+
sudo apt install -y apptainer
3236
3337
- name: checkout git repo
34-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3539

3640
- name: Set up Python 3.X
37-
uses: actions/setup-python@v2
41+
uses: actions/setup-python@v3
3842
with:
3943
python-version: ${{ matrix.python }}
4044

41-
- name: Add conda to system path
42-
run: |
43-
# $CONDA is an environment variable pointing to the root of the miniconda directory
44-
echo $CONDA/bin >> $GITHUB_PATH
45-
46-
- name: conda
47-
run: |
48-
conda install -c conda-forge -c bioconda --quiet -y python=${{ matrix.python }} 'singularity>3'
49-
5045
- name: Install dependencies
5146
run: |
5247
pip install .[testing]

0 commit comments

Comments
 (0)