Skip to content

Commit

Permalink
DEBUG COMMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrozenberg committed Mar 6, 2024
1 parent 946fb9d commit 1a498b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-system/pr-check/unit-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const {
const {runCiJob} = require('./ci-job');
const {Targets, buildTargetsInclude} = require('./build-targets');
const {unitTestPaths} = require('../test-configs/config');
const {circleciNodeIndex} = require('../common/ci');

const jobName = 'unit-tests.js';

Expand Down Expand Up @@ -43,6 +44,9 @@ function prBuildWorkflow() {
timedExecOrDie(
`amp unit --headless --coverage --filelist ${FILELIST_PATH}`
);
if (circleciNodeIndex() == 4) {
process.exitCode = 1;
}
} else {
skipDependentJobs(
jobName,
Expand Down

0 comments on commit 1a498b9

Please sign in to comment.