Skip to content

Merge pull request #13 from SamadiPour/patch-1 #12

Merge pull request #13 from SamadiPour/patch-1

Merge pull request #13 from SamadiPour/patch-1 #12

Workflow file for this run

name: build
on:
push:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pub get
# - name: Run tests
# run: pub run test
# - name: Activate coverage package
# run: pub global activate coverage
# - name: Collect coverage in json
# run: dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit test/google_polyline_algorithm_test.dart & nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
# - name: Convert coverage to lcov
# run: pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1.0.5
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# flags: unittests
# file: ./lcov.info
# name: codecov-google_polyline_algorithm