diff --git a/python-packages/pytest.yml b/python-packages/pytest.yml new file mode 100644 index 0000000000000000000000000000000000000000..a3e2b2c80bb981ffd95dc4a0531bf5bd9779302f --- /dev/null +++ b/python-packages/pytest.yml @@ -0,0 +1,15 @@ +test: + tags: + - docker # this is necessary to execute the Gitlab Runner in a docker container + image: $ACR_URL/python:3.8 + only: + refs: + # run only when new tag is published or changes pushed to master + - tags + - master + - main + script: + # run test files in tests folder + - source $VIRTUALENV_NAME/bin/activate + - pip install pytest + - pytest tests