diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e37e4d..2179401 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,15 +31,19 @@ jobs: uses: docker/setup-buildx-action@v3 with: platforms: linux/amd64,linux/arm64 - - name: Setup BATS + - + name: Setup yq + uses: mikefarah/yq@master + - + name: Setup BATS uses: mig4/setup-bats@v1 with: - bats-version: 1.2.1 - - - name: Check out code + bats-version: 1.11.0 + - + name: Check out code uses: actions/checkout@v1 - - - name: "Test ddev ${{ matrix.version }} image" + - + name: "Test ddev ${{ matrix.version }} image" shell: 'script -q -e -c "bash {0}"' run: | ./build.sh -v ${{ matrix.version }} -l diff --git a/tests/test.bats b/tests/test.bats index 867547b..0b52f99 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -69,10 +69,6 @@ [ "$status" -eq 0 ] } -yq() { - docker run --rm -i -v "${PWD}":/workdir mikefarah/yq "$@" -} - docker-run() { local COMMAND=${1} # @todo: Pass in the current version