sila_interoperability..gitlab-ci.yml Maven / Gradle / Ivy
The newest version!
image: python:3.9-slim
build-python:
stage: build
script:
- pip install build
- python -m build --wheel --outdir . ./communication-tests/
artifacts:
paths:
- sila2_interop_communication_tester-*.whl
test-python:
stage: test
script:
- pip install sila2_interop_communication_tester-*.whl
- python -m sila2_interop_communication_tester.test_server --report-file client-test-report.xml --testsuite-name "SiLA Interop Client Self-Test" --html-file client-test-report.html > server.log 2>&1 & server_pid=$!
- sleep 5
- python -m sila2_interop_communication_tester.test_client --report-file server-test-report.xml --testsuite-name "SiLA Interop Server Self-Test" --html-file server-test-report.html | tee client.log
- sleep 5
- kill -INT $server_pid
- wait $server_pid
artifacts:
when: always
paths:
- client.log
- client-test-report.xml
- client-test-report.html
- server.log
- server-test-report.xml
- server-test-report.html