Skip to content

Android: Allow clearnet connections with DEBUG flag #25

Android: Allow clearnet connections with DEBUG flag

Android: Allow clearnet connections with DEBUG flag #25

Workflow file for this run

name: 'Test the mobile app'
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
pull_request:
branches:
- master
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# https://blog.taranissoftware.com/build-net-maui-apps-with-github-actions
jobs:
build:
runs-on: windows-latest
steps:
# Setup code, .NET and Android
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '22'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
# Restore and build
- name: Install workloads
run: dotnet workload install maui --ignore-failed-sources
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
# Unit and integration tests
- name: Run fast tests
run: dotnet test --no-restore -v n --logger "console;verbosity=normal" --filter "Fast=Fast"
- name: Run integration tests
run: dotnet test --no-restore -v n --logger "console;verbosity=normal" --filter "Integration=Integration"