add bv_test and pre-commit hook #53
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: "Pre-Commit Check" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
pre_commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install -e . | |
- uses: pre-commit/action@v3.0.0 |