Skip to content

[WIP] Upgrade to Flutter master branch #62

[WIP] Upgrade to Flutter master branch

[WIP] Upgrade to Flutter master branch #62

name: Integration tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "**/*.md"
env:
JAVA_VERSION: 22
jobs:
integration_test:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "temurin"
cache: maven
cache-dependency-path: "tmail_integration_test/pom.xml"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build local image
uses: docker/build-push-action@v6
with:
load: true
tags: tmail-web:integration-test
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
install-chromedriver: true
- uses: browser-actions/setup-firefox@v1
- uses: browser-actions/setup-geckodriver@latest
- name: Configure frontend
env:
FRONTEND_CONFIG: ${{ secrets.FRONTEND_CONFIG }}
FRONTEND_CREDS: ${{ secrets.FRONTEND_CREDS }}
run: ../scripts/setup-desktop-integration-tests.sh
working-directory: tmail_integration_test
- name: Run integration tests
run: ../scripts/run-desktop-integration-tests.sh
working-directory: tmail_integration_test