Skip to content

feat: implement polar night and midnight sun features #166

feat: implement polar night and midnight sun features

feat: implement polar night and midnight sun features #166

Workflow file for this run

name: tests
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: '2.19' # Last stable Dart 2.x version
- name: Install dependencies
run: dart pub get
- name: Run test with coverage
run: dart test --coverage coverage
- name: Generate lcov.info for test coverage
run: dart pub global activate coverage && dart pub global run coverage:format_coverage -i coverage/test -o coverage/lcov.info --lcov
- name: upload reports to codecov
run: curl -s https://codecov.io/bash | bash
env:
CODECOV_TOKEN: '${{ secrets.CODECOV_TOKEN }}'