-
Notifications
You must be signed in to change notification settings - Fork 45
32 lines (29 loc) · 865 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Tests
on:
push:
tags-ignore:
- "v*"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
env:
# The proxy server for install tests uses a self-signed certificate
# This allows requests to the proxy by disabling certificate validation
NODE_TLS_REJECT_UNAUTHORIZED: 0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
command: build
- run: zip x86_64-unknown-linux-gnu.zip cargo-flowistry* flowistry-driver*
working-directory: target/debug
- uses: actions-rs/cargo@v1
with:
command: test
- run: npm ci
working-directory: ide
- run: xvfb-run -a npm test -- install --zip=../target/debug/x86_64-unknown-linux-gnu.zip
working-directory: ide
- run: xvfb-run -a npm test
working-directory: ide