Skip to content

Merge pull request #18 from Abdelrhman-Ellithy/dependabot/maven/main/… #30

Merge pull request #18 from Abdelrhman-Ellithy/dependabot/maven/main/…

Merge pull request #18 from Abdelrhman-Ellithy/dependabot/maven/main/… #30

Workflow file for this run

name: CI Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [21]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Clean up previous test output
run: |
rm -rf Test-Output/Reports/*
rm -rf Test-Output/Logs/*
rm -rf Test-Output/ScreenShots/Failed/*
find Test-Output/UpdateChecker/ -type f ! -name 'checker.json' -delete
- name: Build and Run with Maven
run: mvn clean install test
test-macos:
runs-on: macos-latest
strategy:
matrix:
java-version: [21]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Clean up previous test output
run: |
rm -rf Test-Output/Reports/*
rm -rf Test-Output/Logs/*
rm -rf Test-Output/ScreenShots/Failed/*
find Test-Output/UpdateChecker/ -type f ! -name 'checker.json' -delete
- name: Build and Run with Maven
run: mvn clean install test
test-windows:
runs-on: windows-latest
strategy:
matrix:
java-version: [21]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Build and Run with Maven
run: mvn clean install test