Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Develop

Develop #451

Workflow file for this run

name:CI
on:
push:
branches:[ main ]
pull_request:
branches:[ main ]
jobs:
build:
runs-on:ubuntu-latest
timeout-minutes:30
strategy:
matrix:
java-version:['21','17']
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Setup Java ${{ matrix.java-version }}
uses:actions/setup-java@v5
with:
distribution:temurin
java-version:${{ matrix.java-version }}
cache:maven
-name:Make release script executable
run:chmod +x scripts/release.sh
-name:Build and test (skip Docker ITs)
if:matrix.java-version == '21'
run:scripts/release.sh verify --no-docker
-name:Validate POM only on JDK 17 (project targets 21)
if:matrix.java-version == '17'
run:mvn -q -N validate
-name:Upload test reports and coverage (if present)
if:always()
uses:actions/upload-artifact@v4
with:
name:reports-jdk-${{ matrix.java-version }}
if-no-files-found:ignore
path:|
**/target/surefire-reports/**
**/target/failsafe-reports/**
**/target/site/jacoco/**
integration-tests:
name:Integration tests (Docker)
runs-on:ubuntu-latest
needs:build
if:github.event_name == 'push'
timeout-minutes:45
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Setup Java 21
uses:actions/setup-java@v5
with:
distribution:temurin
java-version:'21'
cache:maven
-name:Run full verify (with Testcontainers)
run:mvn -q clean verify
-name:Upload IT reports and coverage
if:always()
uses:actions/upload-artifact@v4
with:
name:reports-integration
if-no-files-found:ignore
path:|
**/target/failsafe-reports/**
**/target/site/jacoco/**

[8]ページ先頭

©2009-2025 Movatter.jp