Merge pull request #935 from SuffolkLITLab/respect-have-template-to-load #372
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: ALKiln v5 Tests | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
tags: | |
description: 'Optional. Use a "tag expression" specify which tagged tests to run. See https://cucumber.io/docs/cucumber/api/#tag-expressions for syntax.' | |
default: '' | |
required: false | |
# To run your tests on a schedule, delete the first "#" symbol at the beginning of each line below. | |
## Also see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | |
## Also see https://crontab.guru/examples.html | |
#schedule: | |
# - cron: '0 1 * * TUE' | |
jobs: | |
interview-testing: | |
runs-on: ubuntu-latest | |
name: Run end-to-end tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use ALKiln to run end-to-end tests | |
uses: SuffolkLITLab/ALKiln@v5 | |
with: | |
SERVER_URL: "${{ secrets.SERVER_URL }}" | |
DOCASSEMBLE_DEVELOPER_API_KEY: "${{ secrets.DOCASSEMBLE_DEVELOPER_API_KEY }}" | |
SERVER_RELOAD_TIMEOUT_SECONDS: 120 | |
- run: echo "Finished running ALKiln end-to-end tests" | |
## To make a new issue in your repository when a test fails, | |
## simply delete the first "#" symbol in each line below | |
#- name: If any tests failed create an issue | |
# if: ${{ failure() }} | |
# uses: actions-ecosystem/action-create-issue@v1 | |
# with: | |
# github_token: "${{ secrets.github_token }}" | |
# title: ALKiln tests failed | |
# body: | | |
# An ALKiln test failed. See the action at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. | |
# labels: | | |
# bug |