diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1119b24..9a1e96f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -134,7 +134,7 @@ jobs: uses: codecov/codecov-action@v4 with: fail_ci_if_error: false # optional (default = false) - files: ./coverage.xml,./coverage_parallel.xml + files: ./coverage.xml,./coverage_parallel_1.xml,./coverage_parallel_2.xml,./coverage_parallel_3.xml,./coverage_vectorization.xml flags: unittests # optional name: codecov-umbrella # optional token: ${{ secrets.CODECOV_TOKEN }} # required diff --git a/.gitignore b/.gitignore index b25c933..1364c1a 100644 --- a/.gitignore +++ b/.gitignore @@ -61,7 +61,7 @@ htmlcov/ .cache nosetests.xml coverage.xml -coverage_parallel.xml +coverage_*.xml *.cover .hypothesis/ diff --git a/pyproject.toml b/pyproject.toml index 575f90b..142a2cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,11 @@ import-roms = { cmd = "python3 src/plangym/scripts/import_retro_roms.py" } "test:parallel" = { cmd = "pytest -n auto -s -o log_cli=true -o log_cli_level=info tests", env-file = ".multicore.env" } "test:singlecore" = { cmd = "pytest -s -o log_cli=true -o log_cli_level=info tests/control/test_classic_control.py", env-file = ".onecore.env" } "test:doctest" = { cmd = "pytest --doctest-modules -n 0 -s -o log_cli=true -o log_cli_level=info src", env-file = ".multicore.env" } -"codecov:parallel" = { cmd = "pytest -n auto -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml:coverage_parallel.xml --cov-config=pyproject.toml tests", env-file = ".multicore.env" } +"codecov:parallel" = { chain = ["codecov:parallel_1", "codecov:parallel_2", "codecov:parallel_3", "codecov:vectorization"] } +"codecov:parallel_1" = { cmd = "pytest -n auto -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml:coverage_parallel_1.xml --cov-config=pyproject.toml tests/test_core.py tests/test_registry.py tests/test_utils.py", env-file = ".multicore.env" } +"codecov:parallel_2" = { cmd = "pytest -n auto -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml:coverage_parallel_2.xml --cov-config=pyproject.toml tests/videogames", env-file = ".multicore.env" } +"codecov:parallel_3" = { cmd = "pytest -n auto -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml:coverage_parallel_3.xml --cov-config=pyproject.toml tests/control", env-file = ".multicore.env" } +"codecov:vectorization" = { cmd = "pytest -n 0 -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml:coverage_vectorization.xml --cov-config=pyproject.toml tests/vectorization", env-file = ".multicore.env" } "codecov:singlecore" = { cmd = "pytest --doctest-modules -s -o log_cli=true -o log_cli_level=info --cov=./ --cov-report=xml --cov-config=pyproject.toml tests/control/test_classic_control.py", env-file = ".onecore.env" } docs = {chain = ["build-docs", "serve-docs"]} build-docs = { cmd = "sphinx-build -b html docs/source docs/build"} diff --git a/requirements-dev.lock b/requirements-dev.lock index 68662d1..11600ce 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -290,7 +290,7 @@ nest-asyncio==1.6.0 # via ipykernel notebook-shim==0.2.4 # via jupyterlab -numpy==2.1.0 +numpy==2.1.1 # via ale-py # via dm-control # via dm-env @@ -440,7 +440,7 @@ scipy==1.14.1 # via dm-control send2trash==1.8.3 # via jupyter-server -setuptools==74.1.0 +setuptools==74.1.1 # via dm-control # via jupyterlab # via labmaze @@ -505,7 +505,7 @@ sphinxcontrib-serializinghtml==2.0.0 # via sphinx sphinxext-opengraph==0.9.1 # via plangym -sqlalchemy==2.0.32 +sqlalchemy==2.0.33 # via jupyter-cache stable-retro==0.9.1 ; sys_platform == 'darwin' # via plangym diff --git a/requirements.lock b/requirements.lock index 59015a6..a3232d4 100644 --- a/requirements.lock +++ b/requirements.lock @@ -290,7 +290,7 @@ nest-asyncio==1.6.0 # via ipykernel notebook-shim==0.2.4 # via jupyterlab -numpy==2.1.0 +numpy==2.1.1 # via ale-py # via dm-control # via dm-env @@ -439,7 +439,7 @@ scipy==1.14.1 # via dm-control send2trash==1.8.3 # via jupyter-server -setuptools==74.1.0 +setuptools==74.1.1 # via dm-control # via jupyterlab # via labmaze @@ -504,7 +504,7 @@ sphinxcontrib-serializinghtml==2.0.0 # via sphinx sphinxext-opengraph==0.9.1 # via plangym -sqlalchemy==2.0.32 +sqlalchemy==2.0.33 # via jupyter-cache stable-retro==0.9.1 ; sys_platform == 'darwin' # via plangym diff --git a/src/plangym/version.py b/src/plangym/version.py index 1fdb88d..ee5af36 100644 --- a/src/plangym/version.py +++ b/src/plangym/version.py @@ -1,3 +1,3 @@ """Current version of the project. Do not modify manually.""" -__version__ = "0.1.5" +__version__ = "0.1.25"