name: CI

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  test:
    name: Test Rails
    uses: alphagov/govuk-infrastructure/.github/workflows/test-rails.yaml@main
    with:
      requiresJavaScript: true
      requiresRedis: true
      requiresMySQL: true
      mysqlUsername: whitehall
      mysqlPassword: whitehall

name: CI

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  test:
    name: Test Rails
    uses: alphagov/govuk-infrastructure/.github/workflows/test-rails.yaml@main
    with:
      requiresJavaScript: true
      requiresRedis: true
      requiresMySQL: true
      mysqlUsername: whitehall
      mysqlPassword: whitehall
      extraSystemDependencies: 'ghostscript'

Install ghostscript as dependency for CI workflow
Install ghostscript as dependency for CI workflow

Whitehall requires ghostscript as a system dependency to run tests.
