From dcddef09dcf2c9bc7d4d6860c924f25bc8363b9a Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Thu, 23 Mar 2023 14:00:28 +0100 Subject: [PATCH] ci: binja: inject secrets --- .github/workflows/bn-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/bn-tests.yml b/.github/workflows/bn-tests.yml index 0ccf51c4..042fe9fe 100644 --- a/.github/workflows/bn-tests.yml +++ b/.github/workflows/bn-tests.yml @@ -30,6 +30,8 @@ jobs: run: pip install -e .[dev] - name: install Binary Ninja + env: + BN_SERIAL: ${{ secrets.BN_SERIAL }} run: | mkdir ./.github/binja curl "https://raw.githubusercontent.com/Vector35/binaryninja-api/6812c97/scripts/download_headless.py" -o ./.github/binja/download_headless.py @@ -37,4 +39,6 @@ jobs: unzip .github/binja/BinaryNinja-headless.zip -d .github/binja/ python .github/binja/binaryninja/scripts/install_api.py - name: Run tests + env: + BN_LICENSE: ${{ secrets.BN_LICENSE }} run: pytest -v tests/test_binja_features.py