Skip to content

Commit

Permalink
build: use codecov's action, now that it's authless (#499)
Browse files Browse the repository at this point in the history
Source-Author: Benjamin E. Coe <bencoe@google.com>
Source-Date: Fri Apr 17 15:00:44 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 19465d3ec5e5acdb01521d8f3bddd311bcbee28d
Source-Link: googleapis/synthtool@19465d3
  • Loading branch information
yoshi-automation committed Apr 18, 2020
1 parent 01e57c9 commit 4bebb6a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Expand Up @@ -18,6 +18,11 @@ jobs:
- run: node --version
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions ${{ matrix.node }}
fail_ci_if_error: true
windows:
runs-on: windows-latest
steps:
Expand All @@ -27,6 +32,11 @@ jobs:
node-version: 12
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions windows
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -45,13 +55,3 @@ jobs:
node-version: 12
- run: npm install
- run: npm run docs-test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13
- run: npm install
- run: npm test
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ secrets.CODECOV_API_KEY }} -r $GITHUB_REPOSITORY --pipe
11 changes: 8 additions & 3 deletions synth.metadata
@@ -1,12 +1,17 @@
{
"updateTime": "2020-04-07T11:42:18.581761Z",
"sources": [
{
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-bigquery.git",
"sha": "ea3d7afe18f8f22c6541043c92c26625ae9e0e85"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "1df68ed6735ddce6797d0f83641a731c3c3f75b4",
"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"
"sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d"
}
}
]
Expand Down

0 comments on commit 4bebb6a

Please sign in to comment.