Skip to content

Commit

Permalink
Checkout UI tests code separately
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Aug 21, 2023
1 parent 99282b3 commit 1563d7d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:
rm -fR ${{ env.PS_DIR }}/themes/_core
rm -fR ${{ env.PS_DIR }}/themes/node_modules
rm -fR ${{ env.PS_DIR }}/var/cache/*
rm -fR ${{ env.PS_DIR }}/tests
zip -q -r /tmp/shop-artifacts/sources.zip ${{ env.PS_DIR }}
docker exec my_prestashop_mysql_1 /usr/bin/mysqldump -u ${{ env.DB_USER }} -p${{ env.DB_PASSWD }} ${{ env.DB_NAME }} > /tmp/shop-artifacts/db_dump.sql
Expand Down Expand Up @@ -396,6 +397,19 @@ jobs:
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/)" != "200" ]]; do echo Received HTTP code $(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/); sleep 5; done'
# UI Tests : Setup, Install & Execute
- uses: actions/checkout@v3
name: Checkout PrestaShop UI tests
with:
fetch-depth: 0
repository: PrestaShop/PrestaShop
path: prestashop_ui_tests
sparse-checkout: |
tests/UI
- name: Move tests UI
run: |
mv prestashop_ui_tests/tests/UI ${{ env.PS_DIR }}/tests/UI
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 1563d7d

Please sign in to comment.