Skip to content

Add integration test #506

Add integration test

Add integration test #506

Workflow file for this run

name: Run Integration Tests
on:
pull_request:
branches:
- main
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout
uses: actions/checkout@v3.5.2
# Step 2: Set up JDK 8
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
# Step 3: Cache Maven dependencies
- name: Cache Maven
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
# Step 4: Run JUnit Integration Tests
- name: Run Integration Tests
run: mvn verify -Dtest.includes="**/integration/*Test.java"