diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d064b7c..d6a8946 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: run: npm ci --prefer-offline --no-audit - name: Generate test coverage - run: npx jest --coverage --testPathPattern='test/(unit|integration).*\.test\.js$' + run: npm run test:ci env: NODE_ENV: test BOT_USERNAME: '@TestBot' diff --git a/package.json b/package.json index 89a29d7..57fd5cb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test:e2e": "jest --testMatch='**/test/e2e/**/*.test.js'", "test:coverage": "jest --coverage", "test:watch": "jest --watch", - "test:ci": "jest --ci --coverage", + "test:ci": "jest --ci --coverage --testPathPattern='test/(unit|integration).*\\.test\\.js$'", "pretest": "./scripts/utils/ensure-test-dirs.sh", "lint": "eslint src/ test/ --fix", "lint:check": "eslint src/ test/",