Skip to content

⬆️ Bump scikit-learn from 1.3.0 to 1.3.1 in /testdata #162

⬆️ Bump scikit-learn from 1.3.0 to 1.3.1 in /testdata

⬆️ Bump scikit-learn from 1.3.0 to 1.3.1 in /testdata #162

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
LIBRARY_PATH: /usr/local/lib
LD_LIBRARY_PATH: /usr/local/lib
TREELITE_VERSION: 3.4.0
jobs:
build:
name: go test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install prerequirements
run: sudo apt-get install -y make cmake g++ python3-pip
- name: Install treelite
run: |
git clone https://github.com/dmlc/treelite.git -b $TREELITE_VERSION /tmp/treelite
mkdir /tmp/treelite/build
pushd /tmp/treelite/build
cmake ..
sudo make install
popd
- name: Build
run: go build -race -v ./...
- name: Test
run: |
pushd testdata
pip3 install -r requirements.txt
python3 main.py
popd
go test -race -v ./...