Skip to content

api test added

api test added #4

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn clean install
- name: Run tests
run: mvn test
- name: Archive test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: target/surefire-reports/