From a9e22ee5e78547be4ad5fbb97c2fe2dc21e8be8c Mon Sep 17 00:00:00 2001 From: Rob Murray Date: Wed, 2 Apr 2025 10:42:15 +0100 Subject: [PATCH] Don't run unit tests with mode rootless Tests will run in the host's namspace not the rootlesskit namespace. So, just duplicating the non-rootless unit tests. Signed-off-by: Rob Murray --- .github/workflows/.test.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/.test.yml b/.github/workflows/.test.yml index 657691dbc2..f660e477fe 100644 --- a/.github/workflows/.test.yml +++ b/.github/workflows/.test.yml @@ -47,7 +47,6 @@ jobs: script: | let includes = [ { mode: '' }, - { mode: 'rootless' }, { mode: 'systemd' }, ]; if ("${{ inputs.storage }}" == "snapshotter") { @@ -83,12 +82,6 @@ jobs: name: Prepare run: | CACHE_DEV_SCOPE=dev - if [[ "${{ matrix.mode }}" == *"rootless"* ]]; then - # In rootless mode, tests will run in the host's namspace not the rootlesskit - # namespace. So, probably no different to non-rootless unit tests and can be - # removed from the test matrix. - echo "DOCKER_ROOTLESS=1" >> $GITHUB_ENV - fi if [[ "${{ matrix.mode }}" == *"firewalld"* ]]; then echo "FIREWALLD=true" >> $GITHUB_ENV CACHE_DEV_SCOPE="${CACHE_DEV_SCOPE}firewalld"