Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Feb 1, 2024
1 parent cdb3d30 commit ca052d4
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test Workflow

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test_mix_repo:
runs-on: ubuntu-latest
name: Test Mix Repo
steps:
- name: Checkout mix repo
uses: actions/checkout@v2
with:
path: main

- name: Checkout remix_ui repo
uses: actions/checkout@v2
with:
repository: conceptadev/remix_ui
path: remix

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

- run: cd main && flutter pub get

- uses: axel-op/dart-package-analyzer@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
relativePath: main

- run: cd main && flutter test

0 comments on commit ca052d4

Please sign in to comment.