Skip to content

Commit

Permalink
update tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidbhura committed Dec 18, 2023
1 parent c0b8492 commit 7fbb8e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DB_HOST=${4-localhost}
WP_VERSION=${5-latest}
SKIP_DB_CREATE=${6-false}

TMPDIR=${TMPDIR-$HOME}
TMPDIR=/github/runner
TMPDIR=$(echo $TMPDIR | sed -e "s/\/$//")
WP_TESTS_DIR=${WP_TESTS_DIR-$TMPDIR/wordpress-tests-lib}
WP_CORE_DIR=${WP_CORE_DIR-$TMPDIR/wordpress/}
Expand Down Expand Up @@ -56,7 +56,7 @@ install_wp() {
return;
fi

cd /github/home
cd /github/runner
mkdir -p $WP_CORE_DIR

if [[ $WP_VERSION == 'nightly' || $WP_VERSION == 'trunk' ]]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
tools: composer, cs2pr

- name: Install NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '13.x'

- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Composer cache
id: composer-cache
Expand Down

0 comments on commit 7fbb8e2

Please sign in to comment.