Integration test (#95)

This commit is contained in:
Dima 2021-04-27 16:23:31 +03:00 committed by GitHub
parent e7dd1e27ca
commit 3b3ff24133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,14 @@ jobs:
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Cache npm
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache coursier
uses: actions/cache@v1
with:
@ -34,5 +42,15 @@ jobs:
- uses: olafurpg/setup-scala@v10
- name: Sbt test
run: |
sbt test
### Update & build
- run: sbt test
- name: Integration test
run: |
git clone https://github.com/fluencelabs/aqua-playground.git
sbt "cli/run -i aqua-playground/aqua -o aqua-playground/src/compiled"
cd aqua-playground
npm i
npm run cli