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 (#198)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/d923dd20-12e5-4e58-82e9-642b59bc9fd4/targets

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

Source-Link: googleapis/synthtool@fdd03c1
  • Loading branch information
yoshi-automation committed Sep 12, 2020
1 parent a9fb0e2 commit 71fbff6
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/teeny-request.git",
"sha": "e2add428e4750facf20eda7682db42a34f44c0f0"
"sha": "a9fb0e217d715df10e3c2f77269c5d0ea3013aac"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "8cf6d2834ad14318e64429c3b94f6443ae83daf9"
"sha": "fdd03c161003ab97657cc0218f25c82c89ddf4b6"
}
}
],
Expand Down

0 comments on commit 71fbff6

Please sign in to comment.