Better recursive paging #162
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
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 }} |