mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
306 B
Bash
18 lines
306 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Source directory
|
|
SOURCE_DIR=$(pwd)
|
|
|
|
# Run the fix script first
|
|
echo "Setting up test environment..."
|
|
chmod +x ./fix-flux-test-env.sh
|
|
./fix-flux-test-env.sh
|
|
|
|
# Run the tests
|
|
echo "Running tests..."
|
|
go test ./...
|
|
|
|
# If we get here, the tests passed
|
|
echo "Tests completed successfully!"
|