Skip to content

Update integration-tests.yml #847

Update integration-tests.yml

Update integration-tests.yml #847

name: Integration Tests
on:
pull_request:
branches: master
concurrency:
group: pr-integration-tests-${{ github.event.pull_request.id }}
cancel-in-progress: true
jobs:
tests:
name: Trigger Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Log start time
run: echo "Workflow started at: $(date)"

Check failure on line 20 in .github/workflows/integration-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
- name: Log branch name
run: echo "Branch name: ${{ steps.branch-name.outputs.current_branch }}"
- name: Wait for Tests Results
uses: convictional/[email protected]
with:
owner: ${{ secrets.NOTIFY_ORG }}
repo: ${{ secrets.NOTIFY_REPO }}
github_token: ${{ secrets.NOTIFY_PAT_TOKEN }}
workflow_file_name: integration-tests.yml
ref: master
wait_interval: 90
client_payload: '{ "docsBranch": "${{ steps.branch-name.outputs.current_branch }}", "pullRequest": "${{ github.event.pull_request.number }}", "postStatus": "true" }'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
- name: Log workflow end
run: echo "Workflow ended at: $(date)"