diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa1da2d..1a5a669 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,11 +65,6 @@ jobs: uses: canonical/setup-lxd@v0.1.1 with: channel: 5.21/stable - - name: Configure default LXD profile - run: | - lxc profile set default security.privileged true - lxc profile set default security.nesting true - lxc profile set default raw.apparmor 'mount fstype=nfs*, mount fstype=rpc_pipefs,' - name: Set up gambol run: | wget https://github.com/NucciTheBoss/gambol/releases/download/v0.1.0-rc1/gambol_0.1.0_amd64.snap @@ -78,7 +73,12 @@ jobs: sudo snap connect gambol:dot-gambol - name: Build the Slurm snap run: | - sudo snap install snapcraft --classic make snap + - name: Configure LXD to run a mini-HPC cluster + run: | + lxc profile set default security.privileged true + lxc profile set default security.nesting true + lxc profile set default raw.apparmor 'mount fstype=nfs*, mount fstype=rpc_pipefs,' + sudo snap install snapcraft --classic - name: Run tests run: make integration