Skip to content

feat: Implement pharaoh framework #75

feat: Implement pharaoh framework

feat: Implement pharaoh framework #75

Workflow file for this run

# 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
cd packages/pharaoh && dart run build_runner build --delete-conflicting-outputs
- name: Check formatting
run: melos format -- --set-exit-if-changed
- name: Check linting
run: 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