Skip to content

Commit 54c7aee

Browse files
add nbgl tests workflow
1 parent 98eaa57 commit 54c7aee

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/nbgl_tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run NBGL tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
- develop
9+
pull_request:
10+
workflow_dispatch:
11+
12+
jobs:
13+
run_NBGL_tests:
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
17+
steps:
18+
- name: Trigger the NBGL tests
19+
run: |
20+
curl -X POST \
21+
-H "Accept: application/vnd.github.v3+json" \
22+
-H "Authorization: token $GITHUB_TOKEN" \
23+
https://api.github.com/repos/LedgerHQ/app-nbgl-tests/dispatches \
24+
-d '{"event_type":"trigger-workflow","client_payload":{"inputs":{"golden_run":"Open a PR"}}}'

0 commit comments

Comments
 (0)