https://github.com/apollo-fire/gtest-action
Github action for running Googletest unit test cases
https://github.com/apollo-fire/gtest-action
action actions
Last synced: 10 months ago
JSON representation
Github action for running Googletest unit test cases
- Host: GitHub
- URL: https://github.com/apollo-fire/gtest-action
- Owner: apollo-fire
- License: mit
- Created: 2022-07-09T10:27:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T14:09:29.000Z (over 1 year ago)
- Last Synced: 2025-03-29T10:22:47.294Z (about 1 year ago)
- Topics: action, actions
- Language: CMake
- Size: 95.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gtest_action
Docker Action that can build and execute Googletest cases
## Example usage
### Where source code is included in test directories
```yaml
- uses: apollo-fire/gtest-action@v0.0.9
with:
test-path: 'src/tests/drivers;src/tests/application'
```
### Where source code is separate to test directory
```yaml
- uses: apollo-fire/gtest-action@v0.0.9
with:
test-path: 'tests/'
source-path: 'src/'
```
### Where build parallelisation is overridden
```yaml
- uses: apollo-fire/gtest-action@v0.0.9
with:
test-path: 'src/tests/drivers;src/tests/application'
parallel-compilation-count: 4
```
### Where tests should be run in a shuffled order 10 times
```yaml
- uses: apollo-fire/gtest-action@v0.0.9
with:
test-path: 'src/tests/drivers;src/tests/application'
parallel-compilation-count: 4
shuffle-count: 10
```