An open API service indexing awesome lists of open source software.

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

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
```