Skip to content

Commit

Permalink
Add CI for waydowntown app (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace authored Jun 29, 2024
1 parent c3d9e71 commit 3c2dda3
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/ci-waydowntown-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: waydowntown_app checks

on:
push:
branches:
- main
pull_request:
paths:
- "waydowntown/waydowntown_app/**"
- ".github/workflows/ci-waydowntown-app.yml"

jobs:
test-ios:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v4

- uses: futureware-tech/simulator-action@v3
with:
model: "iPhone 14"

- uses: subosito/flutter-action@v2
with:
channel: "stable"

- run: flutter pub get
working-directory: waydowntown/waydowntown_app
- run: flutter test
working-directory: waydowntown/waydowntown_app

test-android:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
channel: "stable"

- run: flutter pub get
working-directory: waydowntown/waydowntown_app

- name: Run integration tests
uses: reactivecircus/android-emulator-runner@v2
with:
working-directory: waydowntown/waydowntown_app
api-level: 21
arch: x86_64
profile: Nexus 6
script: flutter test --verbose
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ This is a monorepo to support various adventures.
- [![Gathering checks](https://github.com/backspace/adventures/actions/workflows/ci-gathering.yml/badge.svg)](https://github.com/backspace/adventures/actions/workflows/ci-gathering.yml) `gathering`: an Ember/PouchDB interface to collect locations
- [![AdventureRegistrations checks](https://github.com/backspace/adventures/actions/workflows/ci-registrations.yml/badge.svg)](https://github.com/backspace/adventures/actions/workflows/ci-registrations.yml) `registrations`: an Elixir/Phoenix application to advertise and collect registrations
- [![unmnemonic devices checks](https://github.com/backspace/adventures/actions/workflows/ci-unmnemonic-devices-vrs.yml/badge.svg)](https://github.com/backspace/adventures/actions/workflows/ci-unmnemonic-devices-vrs.yml) `unmnemonic_devices_vrs`: a Rust/Axum server for a Twilio-driven voice response system
- [![waydowntown app checks](https://github.com/backspace/adventures/actions/workflows/ci-waydowntown-app.yml/badge.svg)](https://github.com/backspace/adventures/actions/workflows/ci-waydowntown-app.yml) `waydowntown_app`: a Flutter app for waydowntown
- [![waydowntown server checks](https://github.com/backspace/adventures/actions/workflows/ci-waydowntown-server.yml/badge.svg)](https://github.com/backspace/adventures/actions/workflows/ci-waydowntown-server.yml) `waydowntown_server`: a Rails server to back the waydowntown app

0 comments on commit 3c2dda3

Please sign in to comment.