mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-02 09:02:34 +00:00
* ci: reduced build of changed scopes on drafts and manual runs * ci: tests only when selected in reduced builds * ci: test selection and retries in scripts/ci/run-tests.sh
19 lines
304 B
Bash
Executable File
19 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
case "${1:-}" in
|
|
badge-web)
|
|
(cd apps/simplex-badge-service/web && npm ci && npm test)
|
|
;;
|
|
ci-scripts)
|
|
python3 scripts/ci/test_packages_release.py
|
|
;;
|
|
*)
|
|
echo "usage: $0 badge-web | ci-scripts" >&2
|
|
exit 1
|
|
;;
|
|
esac
|