зеркало из https://github.com/microsoft/AzureTRE.git
12 строки
409 B
Bash
Executable File
12 строки
409 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 1. Remove any previously run failed flag
|
|
# 2. Run pytest, but capture the exit code so we always succeed
|
|
# 3. Output a file if the tests are not successful.
|
|
rm -f ../test-results/pytest_airlock_processor*
|
|
mkdir -p ../test-results
|
|
|
|
if ! pytest --junit-xml ../test-results/pytest_airlock_processor_unit.xml --ignore e2e_tests; then
|
|
touch ../test-results/pytest_airlock_processor_unit_failed
|
|
fi
|