@@ -3,59 +3,59 @@ name: CI
33on : [push, pull_request, workflow_dispatch]
44
55jobs :
6- test :
7- strategy :
8- fail-fast : false
9- matrix :
10- os : [macos-latest, windows-latest, ubuntu-latest]
11- sdk : ['3.8' ]
12- runs-on : ${{ matrix.os }}
13-
14- steps :
15- - name : Checkout
16- uses : actions/checkout@v5
17-
18- - name : Set up Dart SDK
19- uses : dart-lang/setup-dart@v1
20- with :
21- sdk : ${{ matrix.sdk }}
22-
23- - name : Install lcov (macOS)
24- if : matrix.os == 'macos-latest'
25- run : brew install lcov
26-
27- - name : Install lcov (Windows)
28- if : matrix.os == 'windows-latest'
29- run : |
30- choco install lcov
31- echo "C:\ProgramData\chocolatey\lib\lcov\tools\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
32-
33- - name : Install lcov (Ubuntu)
34- if : matrix.os == 'ubuntu-latest'
35- run : sudo apt-get update && sudo apt-get install -y lcov
36-
37- - name : Test without coverage report
38- if : matrix.os != 'ubuntu-latest'
39- run : make tests
40-
41- - name : Test and generate coverage report
42- if : matrix.os == 'ubuntu-latest'
43- run : make tests_with_coverage_report
44-
45- - name : Upload coverage to Coveralls
46- if : matrix.os == 'ubuntu-latest' && matrix.sdk == '3.8 '
47- uses : coverallsapp/github-action@v2
48-
49- format-markdown :
50- runs-on : ubuntu-latest
51-
52- steps :
53- - name : Checkout
54- uses : actions/checkout@v5
55-
56- - name : Format Markdown with markdownlint
57- run : |
58- npm install -g markdownlint-cli
59- markdownlint --disable MD013 MD033 --fix . --ignore CODE_OF_CONDUCT.md --ignore CHANGELOG.md
60- git add -A
61- git diff --cached --exit-code
6+ test :
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ os : [macos-latest, windows-latest, ubuntu-latest]
11+ sdk : ["3.9" ]
12+ runs-on : ${{ matrix.os }}
13+
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v5
17+
18+ - name : Set up Dart SDK
19+ uses : dart-lang/setup-dart@v1
20+ with :
21+ sdk : ${{ matrix.sdk }}
22+
23+ - name : Install lcov (macOS)
24+ if : matrix.os == 'macos-latest'
25+ run : brew install lcov
26+
27+ - name : Install lcov (Windows)
28+ if : matrix.os == 'windows-latest'
29+ run : |
30+ choco install lcov
31+ echo "C:\ProgramData\chocolatey\lib\lcov\tools\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
32+
33+ - name : Install lcov (Ubuntu)
34+ if : matrix.os == 'ubuntu-latest'
35+ run : sudo apt-get update && sudo apt-get install -y lcov
36+
37+ - name : Test without coverage report
38+ if : matrix.os != 'ubuntu-latest'
39+ run : make tests
40+
41+ - name : Test and generate coverage report
42+ if : matrix.os == 'ubuntu-latest'
43+ run : make tests_with_coverage_report
44+
45+ - name : Upload coverage to Coveralls
46+ if : matrix.os == 'ubuntu-latest' && matrix.sdk == '3.9 '
47+ uses : coverallsapp/github-action@v2
48+
49+ format-markdown :
50+ runs-on : ubuntu-latest
51+
52+ steps :
53+ - name : Checkout
54+ uses : actions/checkout@v5
55+
56+ - name : Format Markdown with markdownlint
57+ run : |
58+ npm install -g markdownlint-cli
59+ markdownlint --disable MD013 MD033 --fix . --ignore CODE_OF_CONDUCT.md --ignore CHANGELOG.md
60+ git add -A
61+ git diff --cached --exit-code
0 commit comments