Skip to content

chore: migrate build to 2024.2 #10

chore: migrate build to 2024.2

chore: migrate build to 2024.2 #10

Workflow file for this run

# This workflow will run Integration Tests
name: Integration Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run minikube cluster
run: |
sudo apt-get install conntrack
curl -sLo minikube "$(curl -sL https://api.github.com/repos/kubernetes/minikube/releases/latest | jq -r '[.assets[] | select(.name == "minikube-linux-amd64")] | first | .browser_download_url')"
chmod +x minikube
sudo mv minikube /bin/
minikube config set vm-driver docker
make run-local
- name: Run integration tests
run: |
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x16 &
sleep 10
./gradlew integrationTest --info
- uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-integration-test-reports
path: build/reports/tests/integrationTest
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v4
with:
name: screenshots
path: |
build/screenshots/*