fix: ci #3
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: Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_check: | |
name: Rust build and checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install libtorch | |
run: | | |
pip install torch | |
source setup_env.sh | |
- name: Format | |
run: cargo fmt -- --check | |
# - name: Linter | |
# run: cargo clippy -- -D warnings | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test --verbose |