Skip to content

feat: invalid edge prune using namespace filter #106

feat: invalid edge prune using namespace filter

feat: invalid edge prune using namespace filter #106

Workflow file for this run

name: RealWorld Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
ref: ${{ github.event.pull_request.head.ref }}
- name: Cache Cargo dependencies
uses: actions/cache@v2
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run real tests
run: |
# rust
git clone https://github.com/tree-sitter/tree-sitter --depth 128
# ts
git clone https://github.com/typescript-eslint/typescript-eslint --depth 128
# golang
git clone https://github.com/gin-gonic/gin --depth 128
# python
git clone https://github.com/tiangolo/fastapi --depth 128
# java
git clone https://github.com/projectlombok/lombok --depth 128
# javascript
git clone https://github.com/lodash/lodash --depth 128
# kotlin
git clone https://github.com/android/nowinandroid --depth 128
# swift
git clone https://github.com/SwiftyJSON/SwiftyJSON --depth 128
# execute bin
cp ./target/debug/gossiphs ./gossiphs
cd tree-sitter
time ../gossiphs relation --symbol-csv test-symbol.csv
cd ..
cd typescript-eslint
time ../gossiphs relation
cd ..
cd gin
time ../gossiphs relation
cd ..
cd fastapi
time ../gossiphs relation
cd ..
cd lombok
time ../gossiphs relation
cd ..
cd lodash
time ../gossiphs relation
cd ..