2020 OCAMLRUNPARAM : b
2121
2222jobs :
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-
4923 build-compiler :
5024 strategy :
5125 fail-fast : false
@@ -470,7 +444,7 @@ jobs:
470444 run : |
471445 yarn dlx pkg-pr-new publish "." "./packages/@rescript/*"
472446
473- installationTest :
447+ test-integration :
474448 needs :
475449 - pkg-pr-new
476450 strategy :
@@ -488,9 +462,10 @@ jobs:
488462 - os : windows-latest
489463 node-target : win32-x64
490464 runs-on : ${{ matrix.os }}
465+ env :
466+ RUST_BACKTRACE : " 1"
491467 steps :
492468 - name : Checkout
493- id : checkout
494469 uses : actions/checkout@v4
495470
496471 - name : Use Node.js
@@ -524,10 +499,19 @@ jobs:
524499 shell : bash
525500 working-directory : ${{ steps.tmp-dir.outputs.path }}
526501
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+
527512 publish :
528513 needs :
529- - build-compiler
530- - installationTest
514+ - test-integration
531515 if : startsWith(github.ref, 'refs/tags/v')
532516 runs-on : ubuntu-24.04-arm
533517 steps :
0 commit comments