-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·33 lines (26 loc) · 859 Bytes
/
Copy pathtest.yml
File metadata and controls
executable file
·33 lines (26 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on: [push, pull_request]
name: Test
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test VM
run: cargo t -p dash_vm # no --all-features because jit
- name: Test lints
run: cargo t -p lints
- name: Lints
run: ./lints.sh
- name: Benchmark VM
run: eval $(cargo test --release --benches -p dash_vm |& grep -o -P 'target/release/deps/full-[^\)]+') --bench --output-format bencher | tee output.txt
- name: Store output
if: github.ref == 'refs/heads/master'
uses: benchmark-action/github-action-benchmark@v1.15.0
with:
name: Benchmarks
tool: "cargo"
output-file-path: output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true