20
20
OCAMLRUNPARAM : b
21
21
22
22
jobs :
23
- test-rewatch-integration :
24
- needs :
25
- - pkg-pr-new
26
- runs-on : ubuntu-latest
27
- env :
28
- RUST_BACKTRACE : " 1"
29
-
30
- steps :
31
- - name : Checkout
32
- uses : actions/checkout@v4
33
-
34
- - name : Use Node.js
35
- uses : actions/setup-node@v4
36
- with :
37
- node-version-file : .nvmrc
38
- - name : Install ReScript package
39
- run : |
40
- COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
41
- yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
42
- shell : bash
43
- working-directory : rewatch/testrepo
44
-
45
- - name : Run rewatch integration tests
46
- run : |
47
- make test-rewatch-ci
48
-
49
23
build-compiler :
50
24
strategy :
51
25
fail-fast : false
@@ -470,7 +444,7 @@ jobs:
470
444
run : |
471
445
yarn dlx pkg-pr-new publish "." "./packages/@rescript/*"
472
446
473
- installationTest :
447
+ test-integration :
474
448
needs :
475
449
- pkg-pr-new
476
450
strategy :
@@ -488,9 +462,10 @@ jobs:
488
462
- os : windows-latest
489
463
node-target : win32-x64
490
464
runs-on : ${{ matrix.os }}
465
+ env :
466
+ RUST_BACKTRACE : " 1"
491
467
steps :
492
468
- name : Checkout
493
- id : checkout
494
469
uses : actions/checkout@v4
495
470
496
471
- name : Use Node.js
@@ -524,10 +499,19 @@ jobs:
524
499
shell : bash
525
500
working-directory : ${{ steps.tmp-dir.outputs.path }}
526
501
502
+ - name : Install ReScript package in rewatch/testrepo
503
+ run : |
504
+ COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
505
+ yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
506
+ shell : bash
507
+ working-directory : rewatch/testrepo
508
+
509
+ - name : Run rewatch integration tests
510
+ run : make test-rewatch-ci
511
+
527
512
publish :
528
513
needs :
529
- - build-compiler
530
- - installationTest
514
+ - test-integration
531
515
if : startsWith(github.ref, 'refs/tags/v')
532
516
runs-on : ubuntu-24.04-arm
533
517
steps :
0 commit comments