Skip to content

Commit 4ec274f

Browse files
committed
revert changes to workflow for container tests, stick to Ubuntu 18.04 there for now
1 parent 7eceed9 commit 4ec274f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/container_tests.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Tests for container support
33
on: [push, pull_request]
44
jobs:
55
build:
6-
runs-on: ubuntu-22.04
6+
# stick to Ubuntu 18.04, where we can still easily install yum via 'apt-get install'
7+
runs-on: ubuntu-18.04
78
strategy:
89
matrix:
9-
python: [3.7, 3.8, 3.9, '3.10']
10+
python: [2.7, 3.6]
1011
fail-fast: false
1112
steps:
1213
- uses: actions/checkout@v2
@@ -23,7 +24,7 @@ jobs:
2324
sudo apt-get update -yqq
2425
# for building Singularity images
2526
sudo apt-get install rpm
26-
sudo apt-get install dnf
27+
sudo apt-get install yum
2728
# for modules tool
2829
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
2930
# fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
@@ -84,11 +85,6 @@ jobs:
8485
# create $HOME/.rpmmacros, see also https://github.com/apptainer/singularity/issues/241
8586
echo '%_var /var' > $HOME/.rpmmacros
8687
echo '%_dbpath %{_var}/lib/rpm' >> $HOME/.rpmmacros
87-
ls -ld $HOME/.rpmmacros
88-
echo "contents of $HOME/.rpmmacros:"
89-
cat $HOME/.rpmmacros
90-
sudo echo '%_var /var' > /root/.rpmmacros
91-
sudo echo '%_dbpath %{_var}/lib/rpm' >> /root/.rpmmacros
9288
# build CentOS 7 container image for bzip2 1.0.8 using EasyBuild;
9389
# see https://docs.easybuild.io/en/latest/Containers.html
9490
curl -OL https://raw.githubusercontent.com/easybuilders/easybuild-easyconfigs/develop/easybuild/easyconfigs/b/bzip2/bzip2-1.0.8.eb

0 commit comments

Comments
 (0)