Add driver
subproject
#1019
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scala CI | |
on: | |
push: | |
branches: [ mlscript ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '17.x' | |
- name: Install TypeScript | |
run: npm ci | |
- name: Install test libraries for es projects | |
working-directory: ./driver/js/src/test/esprojects | |
run: npm ci | |
- name: Install test libraries for cjs projects | |
working-directory: ./driver/js/src/test/cjsprojects | |
run: npm ci | |
- name: Run tests | |
run: sbt test -J-XX:+UseG1GC | |
- name: Check no changes | |
run: git diff-files -p --exit-code |