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

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/396d1a63-c8ed-42ae-811f-d2b08d6e2089/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 34a71aa commit 9a62434
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,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-logging.git",
"sha": "422f5d2e5edd6df53cf68e8d8b501cdf77155524"
"sha": "34a71aa89bc328d0015442b0978a95aa08664bc9"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "8cf6d2834ad14318e64429c3b94f6443ae83daf9"
"sha": "fdd03c161003ab97657cc0218f25c82c89ddf4b6"
}
}
],
Expand Down

0 comments on commit 9a62434

Please sign in to comment.