Skip to content

Commit 2373a7c

Browse files
build: use codecov's action, now that it's authless (#162)
1 parent f0fbc0f commit 2373a7c

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.github/workflows/ci.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- run: node --version
1919
- run: npm install
2020
- run: npm test
21+
- name: coverage
22+
uses: codecov/codecov-action@v1
23+
with:
24+
name: actions ${{ matrix.node }}
25+
fail_ci_if_error: true
2126
windows:
2227
runs-on: windows-latest
2328
steps:
@@ -27,6 +32,11 @@ jobs:
2732
node-version: 12
2833
- run: npm install
2934
- run: npm test
35+
- name: coverage
36+
uses: codecov/codecov-action@v1
37+
with:
38+
name: actions windows
39+
fail_ci_if_error: true
3040
lint:
3141
runs-on: ubuntu-latest
3242
steps:
@@ -45,13 +55,3 @@ jobs:
4555
node-version: 12
4656
- run: npm install
4757
- run: npm run docs-test
48-
coverage:
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions/setup-node@v1
53-
with:
54-
node-version: 13
55-
- run: npm install
56-
- run: npm test
57-
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ secrets.CODECOV_API_KEY }} -r $GITHUB_REPOSITORY --pipe

synth.metadata

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
2-
"updateTime": "2020-04-08T13:32:28.981847Z",
32
"sources": [
3+
{
4+
"git": {
5+
"name": ".",
6+
"remote": "https://github.com/googleapis/teeny-request.git",
7+
"sha": "f0fbc0ffd5ab91a6a14ee4cc4a992f4e0d67a65d"
8+
}
9+
},
410
{
511
"git": {
612
"name": "synthtool",
713
"remote": "https://github.com/googleapis/synthtool.git",
8-
"sha": "1df68ed6735ddce6797d0f83641a731c3c3f75b4",
9-
"log": "1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie <rennie@google.com>\n"
14+
"sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d"
1015
}
1116
}
1217
]

0 commit comments

Comments
 (0)