Skip to content

Room builders for maze and cylinder #113

Room builders for maze and cylinder

Room builders for maze and cylinder #113

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install PufferLib
run: |
cd ..
git clone https://github.com/Metta-AI/pufferlib.git
cd pufferlib
git fetch
git stash
git checkout metta
git pull
python setup.py build_ext --inplace
pip install -e .
- name: Run setup.py build_ext
run: |
python setup.py build_ext --inplace
- name: Run tests
env:
HYDRA_FULL_ERROR: 1
PYTHONPATH: ${{ github.workspace }}
run: |
python tests/test_basic.py
python tests/test_game_builder.py
python tests/test_kinship.py