Skip to content

add tests for auth popup #24

add tests for auth popup

add tests for auth popup #24

name: Frontend Pipeline
# Workflow triggers
on:
push:
branches:
- 'main'
paths:
- 'frontend/**'
- '.github/workflows/frontend_pipeline.yml'
pull_request:
branches:
- 'main'
paths:
- 'frontend/**'
- '.github/workflows/frontend_pipeline.yml'
schedule:
- cron: 0 0 * * MON # Schedule pipeline to run monday midnight after sunday ends
workflow_dispatch: # Enable manual runs of workflow
jobs:
lint:
name: Style Checks
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Analyze project source
run: dart analyze
test:
name: Unit Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Run tests
run: flutter test -r expanded
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Build
run: echo "no build command yet"