Skip to content

Merge pull request #29 from olech2412/olech2412-patch-3 #49

Merge pull request #29 from olech2412/olech2412-patch-3

Merge pull request #29 from olech2412/olech2412-patch-3 #49

Workflow file for this run

name: Test CI/CD Pipeline
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
testAPI:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Run Tests with Maven
run: mvn test --file pom.xml
- name: Generate Test Report
run: mvn surefire-report:report
- name: Upload Test Report
uses: actions/upload-artifact@v2
with:
name: Test Report
path: target/site/surefire-report.html