Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jan 31, 2024
1 parent 5131f43 commit b5760f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,23 @@ jobs:
# githubToken: ${{ secrets.GITHUB_TOKEN }}
- run: cd main && flutter test

- name: Analyze Flutter Project
- name: Add most recent mix version to remix_ui
run: |
cd remix
dart pub remove mix
dart pub add 'mix:{"git":{"url":"https://github.com/conceptadev/mix","ref":"main"}}'
- name: Verify if there are any undefined symbols
id: undefined_symbols
run: |
cd remix
if flutter analyze | grep -q 'undefined'; then
echo "A file contains undefined symbols. Please add a deprecated annotation before you remove it."
exit 1
fi
- name: Add Label to Issue
if: failure()
if: ${{ failure() && steps.undefined_symbols.conclusion == 'failure' }}
uses: actions/github-script@v7
with:
script: |
Expand Down

0 comments on commit b5760f4

Please sign in to comment.