Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon committed Jan 17, 2024
1 parent 91a3014 commit 0544995
Show file tree
Hide file tree
Showing 100 changed files with 11,160 additions and 307 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ body:
label: System info
description: |
Describe the characteristic of your environment:
* Describe how Cogmentx was installed (pip, docker, source, ...)
* Version of `cogmentx` (by `cogmentx.__version__`)
* Describe how CogmentLab was installed (pip, docker, source, ...)
* Version of `cogment_lab` (by `cogment_lab.__version__`)
* What OS/version of Linux you're using. Note that while we will accept PRs to improve Window's support, we do not officially support it.
* Python version
Expand All @@ -43,6 +43,6 @@ body:
label: Checklist
options:
- label: >
I have checked that there is no similar [issue](https://github.com/Farama-Foundation/Gymnasium/issues) in
I have checked that there is no similar [issue](https://github.com/cogment/cogment_lab/issues) in
the repo
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ body:
label: Checklist
options:
- label: >
I have checked that there is no similar [issue](https://github.com/Farama-Foundation/cogmentx/issues) in
I have checked that there is no similar [issue](https://github.com/cogment/cogment_lab/issues) in
the repo
required: true
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- run: |
docker build -f bin/all-py.Dockerfile \
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \
--tag cogmentx-all-docker .
--tag cogment_lab-all-docker .
- name: Start background services
run: docker run -d --name cogment_lab-test cogment_lab-all-docker /usr/local/bin/cogmentlab launch base

- name: Run tests
run: docker run cogmentx-all-docker pytest tests/*
- name: Run doctest
run: docker run cogmentx-all-docker pytest --doctest-modules cogmentx/
run: docker run cogment_lab-all-docker pytest tests/*


build-necessary:
runs-on:
Expand All @@ -29,7 +31,7 @@ jobs:
- run: |
docker build -f bin/necessary-py.Dockerfile \
--build-arg PYTHON_VERSION='3.10' \
--tag cogmentx-necessary-docker .
--tag cogment_lab-necessary-docker .
- name: Run tests
run: |
docker run cogmentx-necessary-docker pytest tests/test_core.py tests/envs/test_compatibility.py tests/envs/test_envs.py tests/spaces
docker run cogment_lab-necessary-docker pytest tests
2 changes: 1 addition & 1 deletion .github/workflows/docs-manual-versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install dependencies
run: pip install -r docs/requirements.txt

- name: Install Cogmentx
- name: Install CogmentLab
run: pip install .[atari,accept-rom-license,box2d]

- name: Build Envs Docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: pip install -r docs/requirements.txt

- name: Install Cogmentx
- name: Install CogmentLab
run: pip install .[atari,accept-rom-license,box2d]

- name: Build Envs Docs
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ tutorial/*.html
# PyCharm project files
.idea
vizdoom.ini

lib/
9 changes: 9 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
stages:
- lint

licenses_checker:
stage: lint
image: registry.gitlab.com/ai-r/cogment/license-checker:latest
script:
- license-checker

6 changes: 6 additions & 0 deletions .license.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license:
copyright_year: 2024
author: "AI Redefined Inc. <[email protected]>"
ignore:
- "**/.venv"
- "**/cog_settings.py"
67 changes: 0 additions & 67 deletions CODE_OF_CONDUCT.rst

This file was deleted.

70 changes: 0 additions & 70 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 0544995

Please sign in to comment.