Skip to content

Initial implementation #5

Initial implementation

Initial implementation #5

---
name: Integration Tests
on:
pull_request:
paths:
- "action.yaml"
- ".github/workflows/integration-tests.yaml"
jobs:
test:
name: Test
# These permissions are needed to:
# - Checkout the repo
# - Use `job-context`: https://github.com/beacon-biosignals/get-workflow-run#permissions
permissions:
# actions: read
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
id: workflow
with:
workflow-file: integration-tests.yaml
commit-sha: ${{ github.sha }}
status: in_progress
- name: Test
run: |
set -x
[[ "${{ steps.workflow.outputs.run-id }}" -eq "${{ github.run_id }}" ]] || exit 1
[[ "${{ steps.workflow.outputs.run-attempt }}" -eq "${{ github.run_attempt }}" ]] || exit 1