Skip to content

Update Code Coverage #128

Update Code Coverage

Update Code Coverage #128

Workflow file for this run

name: Kotlin CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'adopt'
- name: Make Gradle executable
run: |
chmod +x gradlew
chmod +x gradle/wrapper/gradle-wrapper.jar
- name: Unit tests
run: |
./gradlew build
./gradlew test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}