build.yml 504 B

1234567891011121314151617181920
  1. name: build
  2. on: [pull_request, push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
  9. steps:
  10. - uses: actions/checkout@v2
  11. - run: |
  12. docker build -f py.Dockerfile \
  13. --build-arg PYTHON_VERSION=${{ matrix.python-version }} \
  14. --tag gym-minigrid-docker .
  15. # TODO: Add and fix tests for pytest
  16. # - name: Run tests
  17. # run: docker run gym-docker pytest