Skip to content

🔨 Included more clarity for recent addition to root README.md. #13

🔨 Included more clarity for recent addition to root README.md.

🔨 Included more clarity for recent addition to root README.md. #13

name: Code Coverage CI
on: [push, pull_request]
jobs:
codecov_ci:
strategy:
matrix:
env:

Check failure on line 9 in .github/workflows/codecov_ci_action.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codecov_ci_action.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- {ROS_DISTRO: humble, ROS_REPO: main}
CCACHE_DIR: /github/home/.ccache
runs-on: ubuntu-latest
container:
image: ros:humble-perception-jammy
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Utilize cache
uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
- name: Run script
run: |
chmod +x ./ci.sh
./ci.sh
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}