Skip to content

Commit

Permalink
test.yml: allow setting C pre-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Feb 10, 2024
1 parent 34e4831 commit 2e93aa5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
upload_data:
default: false
type: boolean
cpp:
default: 'gcc -E'
type: string
# - push
# - pull_request
# - fork
Expand Down Expand Up @@ -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() }}
Expand Down

0 comments on commit 2e93aa5

Please sign in to comment.