Skip to content

Update log file

Update log file #26

Workflow file for this run

name: Test
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./back-end
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Test with Maven
id: test
run: mvn clean test
- name: Check Test Results
if: ${{ steps.test.outcome != 'success' }}
run: exit 1
- name: Generate Test case Report
run: mvn surefire-report:report-only
- name: Upload Coverage Report
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: Test case Report
path: back-end/target/site/