Skip to content

test: conda install lightgbm to avoid macos issues; use tox-gh #88

test: conda install lightgbm to avoid macos issues; use tox-gh

test: conda install lightgbm to avoid macos issues; use tox-gh #88

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches:
- "*"
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2
with:
environment-name: test-env
create-args: >-
python=${{ matrix.python-version }}
tox
tox-gh
- name: test with tox
run: tox
env:
TOX_GH_MAJOR_MINOR: ${{ matrix.python-version }}
CONDA_EXE: mamba
- name: upload coverage reports to Codecov
uses: codecov/codecov-action@v4
- name: list files
run: ls -l .