Skip to content

Adds topic tag

Adds topic tag #150

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
container:
image: dart:latest
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: dart pub get
# Builder
- name: Build Runner
run: dart pub run build_runner build --delete-conflicting-outputs
# Run test
- name: Run tests
run: dart pub run test
# # Get coverage
# - name: Test Coverage
# run: pub run test_cov
# # Activate remove coverage
# - name: Remove Coverage activate
# run: pub global activate remove_from_coverage
# # Remove build files from coverage report
# - name: Remove generated files from Coverage
# run: pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$'
# - name: Remove freezed files from Coverage
# run: pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.freezed.dart$'
# # Upload coverage report
# - name: Coveralls GitHub Action
# uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}