From 82015b30d72e21398c65913b5dacf4fa820ed2c8 Mon Sep 17 00:00:00 2001 From: Scott Aubrey Date: Thu, 14 Nov 2024 06:13:12 +0000 Subject: [PATCH] attempt to do a build that is reused for test stages --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0f3a9c70..bfb9ce31 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,8 +21,20 @@ jobs: id: date run: echo "date=$(date --utc +%Y%m%d.%H%M)" >> $GITHUB_OUTPUT + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: build images + uses: docker/bake-action@v5 + with: + files: docker-compose.yml,docker-compose.ci.yml + tests: runs-on: ubuntu-latest + needs: [build] strategy: matrix: test_script: ["phpcs", "phpunit", "behat"]