-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (36 loc) · 1015 Bytes
/
taskw.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: taskd-free CI testing
env:
PUB_CACHE: '/root/.pub-cache'
on:
pull_request:
push:
branches-ignore: [main]
schedule:
- cron: 0 0 1 * *
workflow_dispatch:
jobs:
taskw:
runs-on: ubuntu-latest
container:
image: bradyt/dart-task
steps:
- uses: actions/checkout@v2
- run: echo '/usr/lib/dart/bin' >> $GITHUB_PATH
- run: echo '/root/.pub-cache/bin' >> $GITHUB_PATH
- run: dart --disable-analytics
- run: dart pub get --offline
working-directory: taskj
- run: dart run coverage:test_with_coverage
working-directory: taskj
- run: genhtml -o coverage coverage/lcov.info
working-directory: taskj
- run: dlcov -c 100
working-directory: taskj
- run: dart pub get --offline
working-directory: taskw
- run: dart run coverage:test_with_coverage
working-directory: taskw
- run: genhtml -o coverage coverage/lcov.info
working-directory: taskw
- run: dlcov -c 86.1
working-directory: taskw