Skip to content

Use scikit-build and dispense with setup.py #238

Use scikit-build and dispense with setup.py

Use scikit-build and dispense with setup.py #238

Workflow file for this run

---
name: Test nle PyPI package
on:
push:
branches: [main]
pull_request:
release:
types: [released]
jobs:
test_install:
name: Test install
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
fail-fast: false
steps:
- name: Setup Python env using uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Create an empty venv
run: "uv venv"
- name: Install nle via pip
run: "uv pip install nle"
- name: Check nethack is installed
run: |
uv run python -c 'import nle; import gymnasium as gym; e = gym.make("NetHack-v0"); e.reset(); e.step(0)'