forked from smart-social-contracts/kybra-simple-db
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 814 Bytes
/
benchmark.yml
File metadata and controls
35 lines (29 loc) · 814 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
34
35
name: Benchmark on IC
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run IC benchmarks
run: |
cd tests && ./run_test_ic_benchmark.sh 2>&1 | tee benchmark-output.txt
- name: Upload benchmark results
if: always()
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: tests/benchmark-output.txt
retention-days: 30