Skip to content

.github: add secrets to fix android build #99

.github: add secrets to fix android build

.github: add secrets to fix android build #99

Workflow file for this run

name: Test CI
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter --version
- run: flutter pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos
- run: flutter test
test-ios:
name: Test iOS
runs-on: macos-latest
needs: checks
steps:
- name: List all simulators
run: "xcrun xctrace list devices"
- name: Start simulator
run: |
UDID=$(xcrun xctrace list devices | grep "^iPhone 15 Plus Simulator (18.1)" | awk '{gsub(/[()]/,""); print $NF}')
echo $UDID
xcrun simctl boot "${UDID:?No Simulator with this name found}"
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter test integration_test