You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Run testspermissions:
contents: readon: [push]jobs:
tests:
name: Run testsruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v4
- name: Example with a bash script (running on Docker kcov/kcov)uses: sudo-bot/action-kcov@latestwith:
cli-args: "--version"
- name: Run a bash script with kcov coverage# Debian based, uses the Docker image kcov/kcovuses: sudo-bot/action-kcov@latestwith:
cli-args: "--dump-summary ./coverage ./bash-script.sh"
- name: Run shunit2 tests with kcov coverage# Alpine baseduses: sudo-bot/action-shunit2@latestwith:
cli: "kcov --dump-summary ./coverage ./tests.sh"
- name: Upload coverage reports to Codecovuses: codecov/codecov-action@v4with:
# Must be set in the repo or org settings as a secrettoken: ${{ secrets.CODECOV_TOKEN }}directory: ./coverage/fail_ci_if_error: true