From 052bf9d60b08a5f00273f6846999709e900eed27 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Tue, 6 Jun 2023 08:48:46 -0400 Subject: [PATCH] Add integration test workflow (#678) --- .github/workflows/integration.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000000..6fbcbf2297 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,25 @@ +name: Integration + +on: [push, pull_request, workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + repository: roots/bedrock-docker + ref: main + path: bedrock-docker + - uses: actions/checkout@v2 + with: + path: bedrock-docker/bedrock + - name: Build and run + run: docker compose up --build -d + working-directory: bedrock-docker + - name: Wait for install + run: sleep 30 + working-directory: bedrock-docker + - name: Verify install + run: curl -s http://127.0.0.1 | grep "bedrock" + working-directory: bedrock-docker