Skip to content

fix: updated Kimberlee's Lesson 15 TDD: Unit test building by removing getSalary method and fixing Lesson15Test file #78

fix: updated Kimberlee's Lesson 15 TDD: Unit test building by removing getSalary method and fixing Lesson15Test file

fix: updated Kimberlee's Lesson 15 TDD: Unit test building by removing getSalary method and fixing Lesson15Test file #78

name: Check Lesson 15 Java Pull Request
on:
pull_request:
branches: [ "main" ]
paths:
- "lesson_15/tdd/**"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build Lesson 15 with Java
working-directory: ./lesson_15/tdd
run: ./gradlew check
- name: Add coverage to PR
id: jacoco
uses: madrapps/[email protected]
with:
paths: ./lesson_15/tdd/tdd_app/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}