We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b9049 commit 92cf855Copy full SHA for 92cf855
1 file changed
.github/workflows/codecov-upload.yml
@@ -0,0 +1,35 @@
1
+name: Coverage Update
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+ workflow_dispatch:
8
9
+jobs:
10
+ run:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@master
15
16
+ - name: Setup Python
17
+ uses: actions/setup-python@master
18
+ with:
19
+ python-version: 3.9
20
21
+ - name: Generate coverage report
22
+ run: |
23
+ pip install coverage
24
+ coverage xml --omit=amazon/*,*/sdk/*
25
26
+ - name: Upload coverage to Codecov
27
+ uses: codecov/codecov-action@v2
28
29
+ token: ${{ secrets.CODECOV_TOKEN }}
30
+ fail_ci_if_error: true
31
+ files: ./coverage.xml
32
+ flags: unittests
33
+ name: codecov-umbrella
34
+ path_to_write_report: ./coverage/codecov_report.txt
35
+ verbose: true
0 commit comments