diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 79a7133..aacd557 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,7 +18,15 @@ jobs: image: ${{ matrix.distro }} steps: - name: Install essentials - run: apk add python3 + run: | + if [ "${{ matrix.distro }}" = "alpine:latest" ]; then + apk add python3 + elif [ "${{ matrix.distro }}" = "archlinux:latest" ]; then + pacman -S python + else + apt-get update + apt-get install --yes --no-install-recommends python3-minimal + fi - name: Check out repository code uses: actions/checkout@v4