From acb24da677fccf83c14a73018739a723401fe556 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 7 Jan 2025 21:54:54 +0000 Subject: [PATCH] Add an install svn step to the action that tests with phpunit --- .github/workflows/phpunit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index a29f8f90..c8908b86 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -76,6 +76,10 @@ jobs: # Bust the cache at least once a month - output format: YYYY-MM-DD. custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Some images won't have svn available. Install it if that's the case. + - name: Install SVN + run: sudo apt-get update && sudo apt-get install -y subversion + - name: Install WP shell: bash run: tests/bin/install-wp-tests.sh wordpress_tests root '' 127.0.0.1:3306 ${{ matrix.wp_version }}