Skip to content

Commit

Permalink
Merge pull request #132 from Emilia-Capital/develop
Browse files Browse the repository at this point in the history
v2.1.1 - 2nd try
  • Loading branch information
jdevalk authored Jan 17, 2025
2 parents 8abbf3b + 0b05db1 commit b058341
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/composer-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to make it possible to compare with PR base branch

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Deploy the plugin to WordPress.org
- name: WordPress plugin deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
uses: 10up/action-wordpress-plugin-deploy@develop
with:
generate-zip: true
env:
Expand Down
26 changes: 26 additions & 0 deletions tests/bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ if [ $# -lt 3 ]; then
exit 1
fi

# Function to check if a command exists
command_exists() {
command -v "$1" >/dev/null 2>&1
}

# Check if SVN is installed
if command_exists svn; then
echo "SVN is already installed."
else
echo "SVN is not installed. Installing SVN..."

# Update the package list
sudo apt-get update -y

# Install SVN
sudo apt-get install -y subversion

# Verify installation
if command_exists svn; then
echo "SVN was successfully installed."
else
echo "Failed to install SVN. Please check your system configuration."
exit 1
fi
fi

DB_NAME=$1
DB_USER=$2
DB_PASS=$3
Expand Down

0 comments on commit b058341

Please sign in to comment.