Skip to content

Commit

Permalink
add nbgl tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejoigny-ledger committed Nov 13, 2024
1 parent 98eaa57 commit 54c7aee
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nbgl_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run NBGL tests

on:
push:
branches:
- master
- main
- develop
pull_request:
workflow_dispatch:

jobs:
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"}}}'

0 comments on commit 54c7aee

Please sign in to comment.