-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from BDonnot/master
Moving to version 1.5.0
- Loading branch information
Showing
304 changed files
with
36,911 additions
and
4,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,130 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
grid2op-executor: | ||
docker: | ||
- image: bdonnot/grid2op:test | ||
working_directory: /Grid2Op | ||
grid2op-executor: | ||
docker: | ||
- image: bdonnot/grid2op:test | ||
working_directory: /Grid2Op | ||
python36: | ||
docker: | ||
- image: python:3.6-slim-buster | ||
python37: | ||
docker: | ||
- image: python:3.7-slim-buster | ||
python38: | ||
docker: | ||
- image: python:3.8-slim-buster | ||
python39: | ||
docker: | ||
- image: python:3.9-slim-buster | ||
|
||
jobs: | ||
test: | ||
executor: grid2op-executor | ||
parallelism: 4 | ||
steps: | ||
- checkout | ||
- run: | ||
command: | | ||
cd grid2op/tests/ | ||
python3 helper_list_test.py | circleci tests split > /tmp/tests_run | ||
python3 -m unittest $(cat /tmp/tests_run) | ||
test: | ||
executor: grid2op-executor | ||
parallelism: 4 | ||
steps: | ||
- checkout | ||
- run: | ||
command: | | ||
cd grid2op/tests/ | ||
python3 helper_list_test.py | circleci tests split > /tmp/tests_run | ||
python3 -m unittest $(cat /tmp/tests_run) | ||
install36: | ||
executor: python36 | ||
steps: | ||
- checkout | ||
- run: python -m pip install virtualenv | ||
- run: python -m virtualenv venv_test | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U numba | ||
pip install -U "numpy>=1.18,<1.19" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.19,<1.20" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
install37: | ||
executor: python37 | ||
steps: | ||
- checkout | ||
- run: python -m pip install virtualenv | ||
- run: python -m virtualenv venv_test | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U numba | ||
pip install -U "numpy>=1.18,<1.19" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.19,<1.20" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.20,<1.21" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
install38: | ||
executor: python38 | ||
steps: | ||
- checkout | ||
- run: python -m pip install virtualenv | ||
- run: python -m virtualenv venv_test | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U numba | ||
pip install -U "numpy>=1.18,<1.19" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.19,<1.20" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.20,<1.21" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
install39: | ||
executor: python39 | ||
steps: | ||
- checkout | ||
- run: python -m pip install virtualenv | ||
- run: python -m virtualenv venv_test | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.19,<1.20" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
- run: | ||
command: | | ||
source venv_test/bin/activate | ||
pip install -U "numpy>=1.20,<1.21" | ||
pip install -U .[test] | ||
grid2op.testinstall | ||
workflows: | ||
version: 2.1 | ||
test: | ||
jobs: | ||
- test | ||
version: 2.1 | ||
test: | ||
jobs: | ||
- test | ||
install: | ||
jobs: | ||
- install36 | ||
- install37 | ||
- install38 | ||
- install39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
recursive-include grid2op/data/ *.bz2 *.json *.zip prods_charac.csv *.py .multimix | ||
recursive-include grid2op/data *.bz2 *.json *.zip prods_charac.csv *.py .multimix storage_units_charac.csv start_datetime.info time_interval.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.