Skip to content

Commit 22406ef

Browse files
Add workflow_dispatch with Google Test filter
Add the workflow_dispatch trigger to the test.yaml workflow. Includes an input for an optional Google Test filter pattern.
1 parent 233f0fb commit 22406ef

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
inputs:
8+
gtest_filter:
9+
description: 'Google Test filter'
10+
11+
env:
12+
GTEST_FILTER: ${{ github.event.inputs.gtest_filter || '*' }}
413

514
jobs:
615
ubuntu:

0 commit comments

Comments
 (0)