Skip to content

Commit

Permalink
build(test): recursively find test files; fail on unsupported depende…
Browse files Browse the repository at this point in the history
…ncy versions (#856)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/4ed21f23-f327-48f6-8054-258670f2c8a0/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@fdd03c1
  • Loading branch information
yoshi-automation authored Sep 12, 2020
1 parent 58dcf34 commit 1c54c6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install
- run: npm install --engine-strict
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
Expand Down
3 changes: 2 additions & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-bigquery.git",
"sha": "c2058e4f4a0c985c405f0cfb0718053b520367cf"
"sha": "58dcf34d8d22b4b5c9e488935b75eeaf8c8fd69e"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "8cf6d2834ad14318e64429c3b94f6443ae83daf9"
"sha": "fdd03c161003ab97657cc0218f25c82c89ddf4b6"
}
}
],
Expand Down

0 comments on commit 1c54c6a

Please sign in to comment.