Skip to content

fix(releaser): correct path to sub pipes #73

fix(releaser): correct path to sub pipes

fix(releaser): correct path to sub pipes #73

Workflow file for this run

name: Test app
on:
push:
branches:
- "main"
paths:
- ".github/workflows/release-app.yaml"
- "app/*"
- "app/**/*"
workflow_dispatch:
workflow_call:
secrets:
DOTENV:
required: true
CODECOV_TOKEN:
required: true
jobs:
build:
environment: production
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Make env
working-directory: app/
run: |
echo "${{ secrets.DOTENV }}" > .env
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Install dependencies
working-directory: app/
run: flutter pub get
- name: Run analyzer
working-directory: app/
run: flutter analyze
- name: Run unit tests
working-directory: app/
run: flutter test --coverage
- name: Upload to code coverage
uses: codecov/codecov-action@v4
with:
token: ${{secrets.CODECOV_TOKEN}}
files: app/coverage/lcov.info