Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Test nle PyPI package #2922

Test nle PyPI package

Test nle PyPI package #2922

Workflow file for this run

---
name: Test nle PyPI package
on:
schedule:
- cron: "0 6,18 * * *"
jobs:
test_install:
name: Test install
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8"]
fail-fast: false
steps:
- name: Setup Python ${{ matrix.python-version }} env
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Ensure latest pip & wheel
run: "python -m pip install -q --upgrade pip wheel"
- name: Install dependencies
run: |
brew install cmake
- name: Install nle via pip
run: "pip install nle"
- name: Check nethack is installed
run: |
python -c 'import nle, gym; e = gym.make("NetHack-v0"); e.reset(); e.step(0)'