Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Bump codecov/codecov-action from 3 to 4 #145

Bump codecov/codecov-action from 3 to 4

Bump codecov/codecov-action from 3 to 4 #145

Workflow file for this run

name: Unit Tests
on:
pull_request:
# Only run workflow if a file in these paths is modified
paths:
- '.github/workflows/unit-tests.yml'
- 'extras/test/**'
- 'src/**'
push:
paths:
- '.github/workflows/unit-tests.yml'
- 'extras/test/**'
- 'src/**'
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
env:
COVERAGE_DATA_PATH: extras/coverage-data/coverage.info
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: arduino/cpp-test-action@main
with:
runtime-path: extras/test/build/bin/testNmeaParser
coverage-data-path: ${{ env.COVERAGE_DATA_PATH }}
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
file: ${{ env.COVERAGE_DATA_PATH }}
fail_ci_if_error: true