Skip to content

Commit 6fd58ef

Browse files
authored
CI: Ensure browser tests are up-to-date (jashkenas#5396)
1 parent f557c05 commit 6fd58ef

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ jobs:
3030
- run: node ./bin/cake build:parser
3131
# Build the browser compiler for the headless browser test
3232
- run: node ./bin/cake build:browser
33+
# Build test.html, so that test:browser uses the latest tests
34+
- run: node ./bin/cake doc:test
3335

3436
# Check that the git diff is clean, to ensure that the updated build output was committed
3537
- run: git diff --exit-code
3638

37-
# Build test.html, so that test:browser uses the latest tests
38-
- run: node ./bin/cake doc:test
39-
4039
# Test
4140
- run: node ./bin/cake test
4241
- run: node ./bin/cake test:browser

Cakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ buildDocTests = (watch = no) ->
310310
# Helpers
311311
testsInScriptBlocks = ->
312312
output = ''
313-
for filename in fs.readdirSync testsSourceFolder
313+
for filename in fs.readdirSync(testsSourceFolder).sort()
314314
if filename.indexOf('.coffee') isnt -1
315315
type = 'coffeescript'
316316
else if filename.indexOf('.litcoffee') isnt -1

0 commit comments

Comments
 (0)