Skip to content

[CS2103-F08-3] PawFection #13867

[CS2103-F08-3] PawFection

[CS2103-F08-3] PawFection #13867

Workflow file for this run

name: Java CI
on:
push:
paths-ignore:
- 'docs/**'
- 'config/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'config/**'
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up repository
uses: actions/checkout@main
- name: Set up repository
uses: actions/checkout@main
with:
ref: master
- name: Checkout triggering commit
run: git checkout --progress --force ${{ github.sha }}
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx
- name: Build and check with Gradle
run: ./gradlew check coverage
- name: Upload coverage reports to Codecov
if: runner.os == 'Linux'
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}