File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
trigger :
2
2
- main
3
3
4
- pr :
4
+ pr :
5
5
- main
6
6
7
7
stages :
@@ -25,14 +25,25 @@ stages:
25
25
virtualenv .venv
26
26
displayName: 'Create Venv'
27
27
- script : |
28
- source .venv/bin/activate
28
+ source .venv/bin/activate
29
29
./run setup
30
30
displayName: 'Setup development environment'
31
- - script : |
32
- source .venv/bin/activate
31
+ - script : |
32
+ source .venv/bin/activate
33
33
./run check -f
34
34
displayName: 'Check formatting'
35
- - script : |
36
- source .venv/bin/activate
35
+ - script : |
36
+ source .venv/bin/activate
37
37
./run test all unit
38
38
displayName: 'Run Unit tests'
39
+ - script : |
40
+ # Refer to https://about.codecov.io/blog/introducing-codecovs-new-uploader/
41
+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --import # One-time step
42
+ curl -Os https://uploader.codecov.io/latest/linux/codecov
43
+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
44
+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
45
+ gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM
46
+ shasum -a 256 -c codecov.SHA256SUM
47
+ chmod +x codecov
48
+ ./codecov -f monai-deploy-app-sdk-coverage.xml -t $(CODECOV_TOKEN)
49
+ displayName: 'Upload code coverage'
You can’t perform that action at this time.
0 commit comments