mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
* test: move compatibility tests into this repo * fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler * fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest * test: add sdk tests for multipart S3 copy coverage * fix: cover and fix smithy cbor and multipart s3 copy regressions * test: migrate more test coverage to new folder * test: add missing ec2 expectation in healthcheck test * docs: update READMEs in `./compatibility-tests`
17 lines
330 B
Bash
17 lines
330 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
report_dir="$(mktemp -d /tmp/bats-junit-XXXXXX)"
|
|
trap 'rm -rf "$report_dir"' EXIT
|
|
|
|
set +e
|
|
/opt/bats-core/bin/bats --report-formatter junit -o "$report_dir" test/
|
|
status=$?
|
|
set -e
|
|
|
|
if [ -f "$report_dir/report.xml" ]; then
|
|
mv "$report_dir/report.xml" /results/junit.xml
|
|
fi
|
|
|
|
exit "$status"
|