Updated version and log of code changes #54
This file contains hidden or 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: ceedling-unit-tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'third-party/ceedling/**' | |
| - '.github/workflows/ceedling-test.yml' | |
| - 'tools/ceedling/test-all.sh' | |
| - 'source/fwk/**' | |
| - 'source/mempool/**' | |
| - 'source/queue/**' | |
| - 'source/sm/**' | |
| - 'source/sma/**' | |
| - 'source/tmr/**' | |
| - 'source/trc/**' | |
| push: | |
| branches: | |
| - develop | |
| paths: | |
| - '.github/workflows/ceedling-test.yml' | |
| - 'tools/ceedling/test-all.sh' | |
| - 'source/fwk/**' | |
| - 'source/mempool/**' | |
| - 'source/queue/**' | |
| - 'source/sm/**' | |
| - 'source/sma/**' | |
| - 'source/tmr/**' | |
| - 'source/trc/**' | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| with: | |
| submodules: recursive | |
| - name: Run Ceedling tests | |
| uses: docker://docker.io/leanfrancucci/ceedling:latest | |
| with: | |
| entrypoint: /bin/bash | |
| args: -c "cd tools/ceedling; ./test-all.sh" | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/[email protected] | |
| if: always() | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| files: source/*/build/artifacts/gcov/report.xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| directory: ./tools/ceedling/gcov | |
| flags: unittests # optional | |
| name: codecov-rkh |