Install Flowistry binary using --locked, update to 0.5.42 #316
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- "v*" | |
pull_request: | |
branches: | |
- master | |
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 | |
args: --locked | |
- run: zip x86_64-unknown-linux-gnu.zip cargo-flowistry* flowistry-driver* | |
working-directory: target/debug | |
- run: cargo test --locked --all-targets | |
- 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 |