Commit a0abb76 1 parent 0ceb01c commit a0abb76 Copy full SHA for a0abb76
File tree 3 files changed +11
-4
lines changed
3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
10
- version : ["2.0.X", "2. 1.X", canary ]
10
+ version : ["2.1.X"]
11
11
steps :
12
12
- name : clone repository
13
13
uses : actions/checkout@v4
14
14
15
15
- name : install deno
16
- uses : denoland/setup-deno@v1
16
+ uses : denoland/setup-deno@v2
17
17
with :
18
18
deno-version : ${{ matrix.version }}
19
19
20
20
- name : run checks
21
21
run : deno task check
22
22
23
23
- name : run tests
24
+ continue-on-error : true
24
25
run : deno task test:ci
25
26
27
+ - name : upload test results
28
+ uses : codecov/test-results-action@v1
29
+ with :
30
+ token : ${{ secrets.CODECOV_TOKEN }}
31
+
26
32
- name : generate coverage report
27
33
run : deno task coverage
28
34
29
35
- name : upload coverage
30
- uses : codecov/codecov-action@v4
36
+ uses : codecov/codecov-action@v5
31
37
with :
32
38
files : ./cov.lcov
33
39
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1
1
cov.lcov
2
2
cov /
3
+ junit.xml
Original file line number Diff line number Diff line change 23
23
"check" : " deno fmt --check && deno lint && deno check --doc *.ts" ,
24
24
"coverage" : " deno coverage --lcov --output=cov.lcov ./cov" ,
25
25
"test" : " deno test --allow-read --allow-write --unstable-kv --parallel" ,
26
- "test:ci" : " deno test --allow-read --allow-write --unstable-kv --coverage=./cov --parallel"
26
+ "test:ci" : " deno test --allow-read --allow-write --unstable-kv --junit-path=junit.xml -- coverage=./cov --parallel"
27
27
},
28
28
"lock" : false ,
29
29
"imports" : {
You can’t perform that action at this time.
0 commit comments