Skip to content

Merge pull request #31 from cyberbotics/fix-warnings #194

Merge pull request #31 from cyberbotics/fix-warnings

Merge pull request #31 from cyberbotics/fix-warnings #194

Workflow file for this run

name: Test
on:
push:
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
strategy:
matrix:
BASE_IMAGE: ["nvidia/cuda:11.8.0-base-ubuntu22.04"]
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file Dockerfile --build-arg BASE_IMAGE=${{ matrix.BASE_IMAGE }} --build-arg WEBOTS_PACKAGE_PREFIX=${{ matrix.WEBOTS_PACKAGE_PREFIX }}
fi