Skip to content

⬆️ Bump treelite from 3.9.1 to 4.0.0 in /testdata #193

⬆️ Bump treelite from 3.9.1 to 4.0.0 in /testdata

⬆️ Bump treelite from 3.9.1 to 4.0.0 in /testdata #193

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 ./...