mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-03 06:40:46 +00:00
* Add support for python 3.6 * Add support for python 3.6 * Added check for python 3.6 to not install mujoco as no version exists * Fixed the install groups for python 3.6 * Re-added python 3.6 support for gym * black * Added support for dataclasses through dataclasses module in setup that backports the module * Fixed install requirements * Re-added dummy env spec with dataclasses * Changed type for compatability for python 3.6 * Added a python 3.6 warning * Fixed python 3.6 typing issue * Removed __future__ import annotation for python 3.6 support * Fixed python 3.6 typing
18 lines
462 B
YAML
18 lines
462 B
YAML
name: build
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
docker build -f py.Dockerfile \
|
|
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \
|
|
--tag gym-docker .
|
|
- name: Run tests
|
|
run: docker run gym-docker pytest --import-mode=append
|