Global GPIO/Pin Migration #1203
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
# run for all pull requests | |
# Run for all commits on feature branches | |
push: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/**' | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/**' | |
jobs: | |
############################################################################### | |
# builds the automated tests with clang; runs tests and exports results | |
googleTest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build | |
run: | | |
cd tests | |
make release | |
- name: Run Tests | |
run: | | |
cd tests/build/bin | |
./libDaisy_gtest --gtest_output=xml:gtestresults.xml | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: tests/build/bin/**/*.xml | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |