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
      requiresMySQL: true
      requiresRedis: true
      mysqlUsername: contacts
      mysqlPassword: contacts

Enable CI using GitHub Actions
Enable CI using GitHub Actions

This enables a GitHub Action workflow to run CI using a re-usable
workflow template in govuk-infrastructure repo. This is the initial set
up to test the reusable workflow.
