bugfix: Use wildcard when no terminal #136
Workflow file for this run
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Test Pipeline | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
analyze: | |
name: Analyze Code | |
runs-on: macos-14 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1.3 | |
- uses: bluefireteam/melos-action@v3 | |
- name: Bootstrap | |
run: | | |
dart pub global activate melos | |
melos bootstrap | |
- name: Check formatting | |
run: melos format -- --set-exit-if-changed | |
- name: Check linting | |
run: | | |
cd packages/pharaoh && dart run build_runner build --delete-conflicting-outputs | |
melos analyze | |
test: | |
name: Test Packages | |
runs-on: macos-14 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1.3 | |
- uses: bluefireteam/melos-action@v3 | |
- name: Bootstrap | |
run: | | |
dart pub global activate melos | |
melos bootstrap | |
cd packages/pharaoh && dart run build_runner build --delete-conflicting-outputs | |
- name: Run Unit tests | |
run: melos tests:ci | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: coverage/*_lcov.info |