Workflow for running automated tests #1
Workflow file for this run
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: Run Automated Tests | |
on: | |
push: | |
branches: [ "main", "develop" ] | |
tags: [ "v*" ] | |
pull_request: | |
branches: [ "main", "develop" ] | |
paths-ignore: | |
- "docs/**" | |
- "scripts/**" | |
jobs: | |
test-playwright: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch an action and get the run ID and URL | |
uses: codex-/return-dispatch@v1 | |
id: return_dispatch | |
with: | |
token: ${{ secrets.TOKEN }} | |
ref: develop | |
repo: iiif-presentation-tests | |
owner: dlcs | |
workflow: run_tests.yml | |
workflow_timeout_seconds: 120 | |
- name: Use the output run ID and URL | |
run: | | |
echo ${{steps.return_dispatch.outputs.run_id}} | |
echo ${{steps.return_dispatch.outputs.run_url}} |