Skip to content

changelog message about hal & rdf modules #1018

changelog message about hal & rdf modules

changelog message about hal & rdf modules #1018

Workflow file for this run

on: [push]
name: CI
jobs:
tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/city-of-helsinki/drupal-php-docker:8.3-alpine
services:
db:
image: mysql:8
env:
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: drupal
ports:
- 3306:3306
steps:
- uses: actions/checkout@v4
- name: Build project
run: composer install --no-interaction
- name: Scan security updates
run: composer audit
- name: Install Drupal
run: |
php -d sendmail_path=$(which true); vendor/bin/drush --yes -v site-install --db-url="$SIMPLETEST_DB"
vendor/bin/drush en helfi_platform_config
- name: Make sure Drupal is installed properly
run: |
vendor/bin/drush runserver $SIMPLETEST_BASE_URL &
sleep 5
# Make sure Drupal is installed
curl -s -o /dev/null -I -w "%{http_code}" $SIMPLETEST_BASE_URL/user/login | grep -q 200