Skip to content

Commit

Permalink
attempt to do a build that is reused for test stages
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaubrey committed Nov 14, 2024
1 parent 167a72b commit 82015b3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 82015b3

Please sign in to comment.