Skip to content

chore: remove changelog #189

chore: remove changelog

chore: remove changelog #189

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
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Check formatting
run: dart format . --line-length=120 --set-exit-if-changed
- name: Check linting
run: |
dart run build_runner build
dart analyze . --fatal-infos
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Bootstrap
run: |
dart pub global activate coverage
dart run build_runner build --delete-conflicting-outputs
- name: Setup Test Database
run: dart run --enable-asserts ./bin/tools/migrator.dart migrate
- name: Run Tests
run: |
dart test --coverage=coverage --fail-fast
dart pub global run coverage:format_coverage --check-ignore --report-on=lib --lcov -o lcov.info -i ./coverage
- name: Upload Coverage
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info