mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 19:38:13 +03:00
Fixing Random Test Failure (#309)
* Test 1: Async Wrapping * Revert "Test 1: Async Wrapping" This reverts commit 8f0e0d283686d367e18275684cc7858af0538515. * Pin github actions node version to the same as ours * Revert "Pin github actions node version to the same as ours" This reverts commit 3758ee05ef5647f608ef3fd1c85b88eb97e3f077. * Move lint step to after running tests * add a NO_CONSOLE config option * temporarily set log level to debug * Enable more mongodb logging in testing * Experimentally bundle before script into SPT. * run without any before * Revert "Experimentally bundle before script into SPT." * Revert "Enable more mongodb logging in testing" This reverts commit c11f918c850dc53cb49b262cb0b51141ac132aab. * Fix missing import * Re add the mongodb logging * Set LOG_LEVEL back to reasonable levels * Increase timeouts for mongo and redis connections * Change how codecov works * Use ServerSelectionTimeoutMS instead of connect * pls? * Bump TAP Timeout to 4 minutes, which we'll probably never hit.
This commit is contained in:
Vendored
+4
-10
@@ -7,21 +7,15 @@ coverage:
|
||||
round: down
|
||||
range: "50...100"
|
||||
status:
|
||||
patch:
|
||||
default:
|
||||
informational: true
|
||||
project:
|
||||
default:
|
||||
target: 80
|
||||
threshold: 2
|
||||
base: auto
|
||||
flags:
|
||||
- unit
|
||||
paths:
|
||||
- "src"
|
||||
# advanced settings
|
||||
branches:
|
||||
- master
|
||||
if_ci_failed: error #success, failure, error, ignore
|
||||
informational: false
|
||||
only_pulls: false
|
||||
informational: true
|
||||
|
||||
parsers:
|
||||
gcov:
|
||||
|
||||
Vendored
+3
-3
@@ -38,12 +38,12 @@ jobs:
|
||||
- name: Move Config File
|
||||
run: mv ./.github/test.conf.json5 ./test.conf.json5
|
||||
|
||||
- name: Lint Code
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run Tests
|
||||
run: pnpm test
|
||||
|
||||
- name: Lint Code
|
||||
run: pnpm lint
|
||||
|
||||
- name: Upload Coverage
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user