Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Jan 25, 2024
1 parent 2b3f833 commit 027e9b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ jobs:
run: |
cd tests/pw
npm ci
# Create php debuglog file
- name: Create php debuglog file
if: success()
run: |
cd tests/pw
mkdir -p debuglog && touch debuglog/debug.log


# Start wordpress environment
- name: Start WordPress Env
Expand Down
3 changes: 2 additions & 1 deletion tests/pw/.wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"WP_DEBUG_DISPLAY": "true"
},
"mappings": {
".htaccess": ".htaccess"
".htaccess": ".htaccess",
"wp-content/debug.log": "./debuglog/debug.log"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/pw/.wp-env.override
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"https://github.com/shashwatahalder01/TestUtils/raw/main/ba.zip",
"https://github.com/shashwatahalder01/TestUtils/raw/main/wa.zip",
"https://github.com/shashwatahalder01/TestUtils/raw/main/wb.zip",
"https://github.com/shashwatahalder01/TestUtils/raw/main/wps.zip",
"https://github.com/shashwatahalder01/TestUtils/raw/main/wpa.zip",
"https://github.com/shashwatahalder01/TestUtils/raw/main/ws.zip"
]
}
Expand Down

0 comments on commit 027e9b4

Please sign in to comment.