write tests for auth logo tile #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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: Run tests | |
run: echo "no tests yet" |