Skip to content

Wait for site to be installed before running tests #95

Wait for site to be installed before running tests

Wait for site to be installed before running tests #95

Workflow file for this run

name: lint-test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: shellcheck *.sh
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: drupal/Dockerfile
verbose: true
test:
needs: [lint]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: install mkcert (ubuntu or macos)
shell: bash
run: |-
ARCH="linux/amd64"
if [ "${{ matrix.os }}" = "macos-latest" ]; then
ARCH="darwin/arm64"
elif [ "${{ matrix.os }}" = "macos-13" ]; then
ARCH="darwin/amd64"
fi
curl -JLO "https://dl.filippo.io/mkcert/latest?for=$ARCH"
chmod +x mkcert-v*
cp mkcert-v* /usr/local/bin/mkcert
- name: generate-certs
shell: bash
run: ./generate-certs.sh
- name: generate-secrets
shell: bash
run: ./generate-secrets.sh