Skip to content

fix(CI): publish workflow to work with py3.11 #165

fix(CI): publish workflow to work with py3.11

fix(CI): publish workflow to work with py3.11 #165

name: test-lightgbm
on: push
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: install-dependencies
run: |
python -m pip install --upgrade pip
pip install ".[tests]"
pip install ".[lightgbm]"
- name: run-tests
run: pytest tests/wrappers/test_lightgbm.py -s --durations 0