23 lines
641 B
YAML
23 lines
641 B
YAML
name: Benchmarks
|
|
on: [push, pull_request]
|
|
jobs:
|
|
Run-Benchmarks:
|
|
runs-on: ubuntu-22.04
|
|
env:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
steps:
|
|
- name: Install time
|
|
run: |
|
|
apt-get update -y
|
|
apt-get install -y time
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- run: cd ${{ github.workspace }}
|
|
- name: Run benchmark
|
|
run: |
|
|
cd benchmark/
|
|
bash benchmark.sh python3 ../run-tests.py
|
|
- name: Run baseline benchmark
|
|
run: |
|
|
cd benchmark/
|
|
bash benchmark.sh python3 ../run-tests.py |