Skip to content

Commit

Permalink
[TASK] Add yq
Browse files Browse the repository at this point in the history
  • Loading branch information
ochorocho committed Jul 7, 2024
1 parent deee46f commit 040a135
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 040a135

Please sign in to comment.