-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
25 lines (20 loc) · 786 Bytes
/
integration.yml
File metadata and controls
25 lines (20 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Integration
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Copy .env file
working-directory: .devcontainer
run: cp .env.example ../.env
- name: Start dev container and test
uses: devcontainers/ci@v0.3
with:
configFile: .devcontainer/devcontainer.json
runCmd: |
composer install --no-interaction --no-progress --prefer-dist
wp core install --url=http://localhost:8080 --title=Bedrock --admin_user=admin --admin_password=admin --admin_email=admin@example.com --skip-email --allow-root
- name: Verify installation
run: |
curl -s http://localhost:8080 | grep "<title>Bedrock"