feat: add useful scripts #18
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: OVFS Behavior Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Behavior Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Behavior Test | |
env: | |
OVFS_SOCKET_PATH: /tmp/vfsd.sock | |
OVFS_BACKEND: fs://?root=${{ github.workspace }}/.github/scripts | |
run: | | |
cargo run --manifest-path ../../Cargo.toml --release & | |
chmod +x ./install_and_run_vm.sh | |
./install_and_run_vm.sh & | |
pip install paramiko | |
python behavior_test_judge.py | |
working-directory: .github/scripts |