/gh-actions

learning to use docker and ghactions for CI/CD

Primary LanguagePython

GitHub Actions Logo Maya 2020 Logo Docker Moby Logo

Maya Docker Testing

How to run a python test suite using the GitHub Actions CI in a Maya Docker Container
Github CI Github Latest Release Github Last Commit Github Issues Github License PRs Welcome

⚙️ Configuration

  1. In order to run different versions of maya, you need to check if that version is available in Marcus Ottosson's Maya docker image: https://hub.docker.com/r/mottosso/maya
  2. Copy/paste another Dockerfile-<mayaversion>, fix the FROM maya version to your desired image version.
  3. Modify main.yml and add another job (change all instances of <version>):
  maya_<version>_tests:
    runs-on: ubuntu-latest
    name: Runs Maya <version>
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Build Container
        run: /usr/bin/docker build -t maya -f "Dockerfile-<version>" .
      - name: Run Container
        run: /usr/bin/docker run -v "$(pwd):/root/workdir" maya

⛏️ Built Using

  • Docker - Containerization
  • Maya - 3D Runtime Environment
  • GitHub Actions - CI

✍️ Authors

🎉 Acknowledgements