Skip to content

Commit 8c625dd

Browse files
cknittcristianoc
authored andcommitted
Check format in ciTest.js
1 parent da1d7ea commit 8c625dd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ jobs:
5757
env:
5858
RESCRIPT_FORCE_REBUILD: 1
5959

60-
- name: Check format
61-
run: npm run checkFormat
62-
6360
- name: Run tests
6461
if: runner.os != 'Windows'
6562
run: opam exec -- node scripts/ciTest.js -all

scripts/ciTest.js

+8
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,18 @@ function runTests() {
146146
}
147147
}
148148

149+
function checkFormat() {
150+
cp.execSync("npm run checkFormat", {
151+
cwd: path.join(__dirname, ".."),
152+
stdio: [0, 1, 2],
153+
});
154+
}
155+
149156
function main() {
150157
try {
151158
init();
152159
runTests();
160+
checkFormat();
153161
} catch (err) {
154162
console.error(err);
155163
process.exit(2);

0 commit comments

Comments
 (0)