Skip to content

release 24.5.2.1

release 24.5.2.1 #190

name: Benchmark Result Check Lightwood
on:
pull_request:
branches:
- stable
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Assert benchmarks ran and this version is better
run: |
wget https://raw.githubusercontent.com/torokmark/assert.sh/main/assert.sh
source assert.sh
commit=${{ github.event.pull_request.head.sha }}
against="best"
status=$(curl -X GET http://benchmarks.mindsdb.com:9107/compare/$against/$commit?release_only=True)
echo Got benchmark status $status between $commit and $against
assert_eq "$status" "Yes" && echo 'Good to go!'