From c6745e41f074be699d351727cc935c470eed777d Mon Sep 17 00:00:00 2001 From: tdejoigny-ledger Date: Wed, 13 Nov 2024 18:46:48 +0100 Subject: [PATCH] add nbgl tests workflow --- .github/workflows/nbgl_tests.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/nbgl_tests.yml diff --git a/.github/workflows/nbgl_tests.yml b/.github/workflows/nbgl_tests.yml new file mode 100644 index 000000000..e6a4aca25 --- /dev/null +++ b/.github/workflows/nbgl_tests.yml @@ -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"}}}'