Skip to content

Merge pull request #81 from willcrichton/indexical #293

Merge pull request #81 from willcrichton/indexical

Merge pull request #81 from willcrichton/indexical #293

Workflow file for this run

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
- 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
bench:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: cargo bench --bench main -- --output-format bencher | tee crates/flowistry/benches/output.txt
- uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: crates/flowistry/benches/output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true