fix(test): reduce test timeout from 30s to 10s #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
concurrency: | |
group: 'test' | |
cancel-in-progress: false | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
# Checkout the repository | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
# Set up JDK 24 | |
- name: Set up JDK 24 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '24' | |
distribution: 'temurin' | |
cache: maven | |
cache-dependency-path: pom.xml | |
- name: Verify JAVA_HOME | |
run: | | |
echo "JAVA_HOME is set to: $JAVA_HOME" | |
# Run Maven tests | |
- name: Run Maven Tests | |
# This command will execute your project's tests. | |
run: mvn test -f pom.xml |