From 02c282fcac68adaa2a8ba3aa2139dc4be8fbd515 Mon Sep 17 00:00:00 2001 From: geisserml Date: Sat, 10 Feb 2024 19:21:04 +0100 Subject: [PATCH] test.yml: allow setting C pre-processor --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 863d626..b96ce0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,9 @@ on: upload_data: default: false type: boolean + cpp: + default: '' + type: string # - push # - pull_request # - fork @@ -57,6 +60,7 @@ jobs: run: pytest -sv tests/testsuite.py env: CLEANUP_OK: ${{ !inputs.upload_data && 1 || 0 }} + CPP: ${{ inputs.cpp }} - name: Upload generated data if: ${{ inputs.upload_data && !cancelled() }}