From adf1fb4103fedef2181df4e6173bbccd18b60785 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 3 Dec 2024 10:17:09 -0600 Subject: [PATCH] Upload coverage results to codecov --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2f40ab8..e310e51 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,4 +28,8 @@ jobs: python -m pip install -U -e .[test] pytest-cov - name: Run tests run: | - python -m pytest tests --cov + python -m pytest tests --cov=osrf_pycommon + - name: Upload coverage + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }}