Don't leak env values into $_SERVER
#252
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy .env file | |
working-directory: .devcontainer | |
run: cp .env.example ../.env | |
- name: Start dev container and test | |
uses: devcontainers/[email protected] | |
with: | |
configFile: .devcontainer/devcontainer.json | |
runCmd: | | |
composer install | |
while ! mysqladmin ping -h"database" --silent; do | |
sleep 1 | |
done | |
wp core install --url=http://localhost:8080 --title=Bedrock --admin_user=admin --admin_password=admin [email protected] --skip-email --allow-root | |
- name: Verify installation | |
run: | | |
curl -s http://localhost:8080 | grep "<title>Bedrock" |