Skip to content

fix releasing on push to main #195

fix releasing on push to main

fix releasing on push to main #195

Workflow file for this run

name: Benchmark Result Check Lightwood
on:
pull_request:
branches:
- main
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!'