Skip to content

Commit

Permalink
Add integration test workflow (roots#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
swalkinshaw authored Jun 6, 2023
1 parent 8bc7fb4 commit 052bf9d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -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 "<title>bedrock"
working-directory: bedrock-docker

0 comments on commit 052bf9d

Please sign in to comment.