Skip to content

chore: Update workflows to only run on main branch for push and pull request events #19

chore: Update workflows to only run on main branch for push and pull request events

chore: Update workflows to only run on main branch for push and pull request events #19

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
drive:
runs-on: ubuntu-latest
environment: github-pages
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: beta
cache: true
# Not needed for tests but pubspec.yaml requires it
- name: Make envfile
run: echo "API_URL=${{ vars.API_URL }}" > .env
- run: flutter test