Files
actions-sync/.github/workflows/actions-sync-e2e-test-called.yml
Florian Wagner 8decd6ca07 add sanity testing workflow and docs
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-22 08:18:05 +00:00

34 lines
768 B
YAML

name: Actions Sync E2E Sanity Test Reusable
on:
workflow_call:
inputs:
runson:
type: string
required: true
secrets:
ghes_url:
required: true
actions_sync_releasedatetime:
required: true
site_admin_token:
required: true
jobs:
execute:
runs-on: ${{ inputs.runson }}
steps:
- uses: actions/checkout@v3
- name: Bootstrap
run: |
.\script\bootstrap-sanity-test.ps1
shell: pwsh
env:
RELEASEDATE: ${{ secrets.actions_sync_releasedatetime }}
- name: Test execution
run: |
.\script\execute-sanity-test.ps1
shell: pwsh
env:
TOKEN: ${{ secrets.site_admin_token }}
TEST_INSTANCE_URL: ${{ secrets.ghes_url }}