Skip to content

add nbgl tests workflow #22

add nbgl tests workflow

add nbgl tests workflow #22

Workflow file for this run

name: Run NBGL tests
on:
push:
branches:
- master
- main
- develop
pull_request:
workflow_dispatch:
jobs:
run_NBGL_tests_1:
uses: LedgerHQ/app-nbgl-tests/.github/workflows/build_and_functional_tests.yml@master

Check failure on line 14 in .github/workflows/nbgl_tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nbgl_tests.yml

Invalid workflow file

error parsing called workflow ".github/workflows/nbgl_tests.yml" -> "LedgerHQ/app-nbgl-tests/.github/workflows/build_and_functional_tests.yml@master" (source branch with sha:12cdd4dad25b4be7791cab921b4ec2794bd5d0b5) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
golden_run: "Open a PR"
secrets: inherit
run_NBGL_tests:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
steps:
- name: Trigger the NBGL tests
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/LedgerHQ/app-nbgl-tests/dispatches \
-d '{"event_type":"trigger-workflow","client_payload":{"inputs":{"golden_run":"Open a PR"}}}'