Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

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

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
yoshi-automation authored Sep 12, 2020
1 parent 9ce5215 commit 75b574a
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
@@ -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
3 changes: 2 additions & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
@@ -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'];
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-vision.git",
"sha": "5a70489509f597c565b98c767a34a5805e528dbf"
"sha": "9ce5215448b026adb10fa9c10156d4e8d8c865e4"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "8cf6d2834ad14318e64429c3b94f6443ae83daf9"
"sha": "fdd03c161003ab97657cc0218f25c82c89ddf4b6"
}
}
],

0 comments on commit 75b574a

Please sign in to comment.