Skip to content

feat: python support #11

feat: python support

feat: python support #11

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'
- 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
# execute bin
cp ./target/debug/gossiphs ./gossiphs
cd tree-sitter
time ../gossiphs interactive --dry
cd ..
cd typescript-eslint
time ../gossiphs interactive --dry
cd ..
cd gin
time ../gossiphs interactive --dry
cd ..
cd fastapi
time ../gossiphs interactive --dry
cd ..