diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 12f7d251e..99acb9cdf 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -78,7 +78,13 @@ jobs: python -m pip install tox tox run --colored yes -m tests --notest - name: Run tests + shell: bash run: | + if [[ $(uname --kernel-name) == "Linux" ]]; then + # Ensure the version of skopeo comes from homebrew + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + sudo chmod 666 /run/containers + fi tox run --skip-pkg-install --no-list-dependencies --result-json results/tox-${{ matrix.platform }}.json --colored yes -m tests snap-build: