[hotfix] Release 24.3.3.1 #183
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!' | |