Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure PyPi versions work #192

Merged
merged 6 commits into from
Jul 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ jobs:
run: |
coveralls --service=github

build-gym:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -e catanatron_core
pip install -e catanatron_gym
- name: Inline test
run: |
python -c "import gym; env = gym.make('catanatron_gym:catanatron-v0')"

build-ui:
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion catanatron_core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="catanatron",
version="3.2.0",
version="3.2.1",
author="Bryan Collazo",
author_email="[email protected]",
description="Fast Settlers of Catan Python Implementation",
Expand Down
4 changes: 2 additions & 2 deletions catanatron_gym/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="catanatron_gym",
version="3.2.0",
version="3.2.1",
author="Bryan Collazo",
author_email="[email protected]",
description="Open AI Gym to play 1v1 Catan against a random bot",
Expand All @@ -22,5 +22,5 @@
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=["catanatron", "gym", "numpy"],
install_requires=["catanatron", "gym==0.21.0", "numpy"],
)