Skip to content

Add codecov

Add codecov #1

Workflow file for this run

name: Workflow for Codecov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: 11
- name: Install dependencies, run tests, and collect coverage
run: gradle coverallsJacoco
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
slug: uber/cadence