pi-frame-server/.forgejo/workflows/cargo.yml
saji 37f67323e1
All checks were successful
cargo_test_bench / Run Tests (push) Successful in 1m25s
cargo_test_bench / Run Benchmarks (push) Successful in 2m44s
fix actions paths
2024-07-31 00:20:41 -05:00

24 lines
564 B
YAML

name: cargo_test_bench
on: push
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://github.com/dtolnay/rust-toolchain@stable
- run: cargo test --all-features
bench:
name: Run Benchmarks
runs-on: ubuntu-latest
steps:
- uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
with:
fetch-depth: 2
- run: git checkout HEAD~
- run: cargo bench
- run: git checkout master
- run: cargo bench