Skip to content

[hotfix] Release 24.3.3.1 #183

[hotfix] Release 24.3.3.1

[hotfix] Release 24.3.3.1 #183

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!'