Skip to content

chore(ci): upgrade to v5 #70

chore(ci): upgrade to v5

chore(ci): upgrade to v5 #70

Workflow file for this run

name: Workflow for Codecov example-c
on: [push, pull_request]
jobs:
run-gcc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Compile calculator
run: gcc -fprofile-arcs -ftest-coverage -O0 -o test_calculator test_calculator.c calculator.c
- name: Run tests
run: ./test_calculator
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}