diff --git a/.gitignore b/.gitignore index 09e04d85..c6522666 100644 --- a/.gitignore +++ b/.gitignore @@ -1,41 +1,41 @@ *.pyc *.sw? *~ \#* .\#* /.coverage /.coverage.* .eggs/ resources/test/ __pycache__ version.txt swh.web.egg-info docs/build/ docs/uri-scheme.md docs/dev-info.md *.sqlite3* .vscode/ .directory node_modules/ static/*.* static/js/ static/css/ static/fonts/ static/jssources/ static/img/thirdParty/ build/ dist/ .hypothesis .cache .pytest_cache .tox/ .mypy_cache/ package-lock.json yarn-error.log cypress/mochawesome/ -.nyc_output/ +.nyc_output*/ cypress/coverage*/ cypress/fixtures/source*.json cypress/junit/ cypress/downloads/ .eslintcache diff --git a/nyc.config.js b/nyc.config.js index d37cf5d6..221eb6e2 100644 --- a/nyc.config.js +++ b/nyc.config.js @@ -1,15 +1,18 @@ 'use strict'; let reportDir = 'cypress/coverage'; +let tempDir = '.nyc_output'; const parallelBuildId = process.env.CYPRESS_PARALLEL_BUILD_ID; if (parallelBuildId !== undefined) { reportDir += parallelBuildId; + tempDir += parallelBuildId; } module.exports = { exclude: [ 'assets/src/bundles/vendors/index.js', 'assets/src/thirdparty/**/*.js' ], - 'report-dir': reportDir + 'report-dir': reportDir, + 'temp-dir': tempDir };