feat: add remaining tcc and spring-saga e2e case #200
Workflow file for this run
This file contains 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: Java CI | |
on: [ push,pull_request ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java: [ 8, 11 ] | |
fail-fast: false | |
max-parallel: 2 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- name: Test with Maven | |
run: | | |
directories=("at-sample" "saga-sample" "tcc-sample" "xa-sample") | |
for dir in "${directories[@]}"; do | |
for subdir in "$dir"/*; do | |
if [ -d "$subdir" ]; then | |
echo "Entering directory $subdir" | |
cd "$subdir" | |
mvn -B test | |
cd - > /dev/null | |
fi | |
done | |
done |