Skip to content

Add integration test for merge-cli #529

Add integration test for merge-cli

Add integration test for merge-cli #529

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
locale: [ "en_US.utf8", "fr_FR.utf8" ]
env:
LANG: ${{ matrix.locale }}
steps:
- uses: actions/checkout@v4
- name: Set locale to ${{ matrix.locale }}
run: |
lang=`echo "${{ matrix.locale }}" | head -c 2`
sudo apt-get -qq install -y language-pack-${lang}
echo ""
# list installed locales
echo "Available locales"
locale -a
sudo locale-gen ${{ matrix.locale }}
sudo update-locale LANG=${{ matrix.locale }}
- run: date
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Test project with Maven
run: mvn --no-transfer-progress test package
cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Run CLI e2e tests
run: ./cli-tests/cli-tests.sh