Skip to content

Update build.yml

Update build.yml #6

Workflow file for this run

name: Build
on:
push:
branches:
- master
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven and generate JaCoCo report
run: mvn clean verify
working-directory: ./syg-backend
- name: Upload JaCoCo report
uses: actions/upload-artifact@v4
with:
name: jacoco-report
path: |
*/target/site/jacoco/jacoco-aggregate