diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index fe95e0c..cebe48d 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -36,8 +36,22 @@ jobs: cmake -B build -D CMAKE_BUILD_TYPE=Release cmake --build build --target all -j4 --config Release - - name: test + - name: cpp test run: | ./build/agario/test-engine ./build/agario/test-engine-renderable ./build/bench/agario-bench + + + - name: python install + env: + CXX: ${{ matrix.cxx }} + run: | + python -m venv .venv + . .venv/bin/activate + python setup.py install + + - name: python test + run: | + . .venv/bin/activate + python bench/agarle_bench.py diff --git a/setup.py b/setup.py index 2d46c5e..9f62469 100644 --- a/setup.py +++ b/setup.py @@ -63,14 +63,19 @@ def build_extension(self, ext): long_description = f.read() setup(name='GymAgario', - version='0.0.1', - author="The Authors of the Paper", - author_email="agarcl.2025@gmail.com", - description="Agar.io as continual learning environment for OpenAI Gym", - url="", - install_requires=["gymnasium~=0.29", "numpy"], - packages=["gym_agario"], - long_description=long_description, - ext_modules=[CMakeExtension('agarcl')], - cmdclass=dict(build_ext=CMakeBuild), - license="MIT") + version='0.0.1', + author="Mohamed A. Mohamed", + author_email="mamoham3@ualberta.ca", + description="Agar.io as continual learning environment for OpenAI Gym", + url="", + install_requires=[ + "gymnasium~=0.29", + "numpy", + "setuptools", + ], + packages=["gym_agario"], + long_description=long_description, + ext_modules=[CMakeExtension('agarcl')], + cmdclass=dict(build_ext=CMakeBuild), + license="MIT", +)