Skip to content

Commit aacea8e

Browse files
committed
try fix gh_pages not showing new tests on allure results
1 parent ead2f9f commit aacea8e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/github_actions_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ jobs:
5151
echo "BASE_URL_FE=${BASE_URL_FE}" > .env
5252
echo "BASE_URL_API=${BASE_URL_API}" > .env
5353
54-
- name: Download previous Allure report
54+
- name: Download previous Allure history
5555
run: |
5656
git config --global user.email "github-actions@users.noreply.github.com"
5757
git config --global user.name "GitHub Actions"
58-
git clone --depth=1 --branch gh-pages https://github.com/${{ github.repository }} gh-pages || exit 0
58+
git clone --depth=1 --branch gh_pages https://github.com/${{ github.repository }} gh-pages || echo "No previous gh-pages"
5959
mkdir -p allure-results/history
60-
cp -R gh-pages/history allure-results/ || echo "No previous history"
60+
cp -r gh-pages/history allure-results/ || echo "No history to copy"
61+
6162

6263
- name: Run tests(UI & API) with Pytest
6364
run: |

0 commit comments

Comments
 (0)