File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1- # This workflow will test on Deno latest stable major and canary
2- # see https://github.com/marketplace/actions/setup-deno for details
31name : Deno CI
42on : [push, pull_request]
53jobs :
64 test :
7- runs-on : ubuntu-latest
5+ runs-on : ${{ matrix.os }}
86 strategy :
97 matrix :
10- deno-version :
11- - vx.x.x
12- - canary
8+ deno : [canary]
9+ os : [macos-latest, ubuntu-latest, windows-2019]
1310 steps :
1411 - name : Clone repository
1512 uses : actions/checkout@v2
16- - name : Set up Deno ${{ matrix.deno-version }}
13+ - name : Set up Deno ${{ matrix.deno }}
17141815 with :
19- deno-version : ${{ matrix.deno }}
16+ deno : ${{ matrix.deno }}
2017 - name : Run tests
2118 run : deno test --allow-net --coverage=coverage/tmp --ignore=node_modules
2219 - name : Generate coverage
2320 run : deno coverage coverage/tmp --lcov > coverage/lcov.info; sed -i.bak -E 's/SF:.*\/([^/]+\.ts)/SF:\1/' coverage/lcov.info; rm -f coverage/lcov.info.bak
2421 - name : Upload coverage
2522 uses : codecov/codecov-action@v2
26- if : matrix.deno-version == 1
23+ if : matrix.os == 'ubuntu-latest' && matrix.deno == 'canary'
2724 with :
2825 fail_ci_if_error : true
2926 files : lcov.info
You can’t perform that action at this time.
0 commit comments