unittest.sh 417 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. ./.github/scripts/setup-env.sh
  4. # Activate conda environment
  5. eval "$($(which conda) shell.bash hook)" && conda deactivate && conda activate ci
  6. echo '::group::Install testing utilities'
  7. pip install --progress-bar=off pytest pytest-mock pytest-cov
  8. echo '::endgroup::'
  9. python test/smoke_test.py
  10. pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25