-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run E2E tests on master #404
Run E2E tests on master #404
Conversation
boubkerbribri
commented
Sep 10, 2021
Questions | Answers |
---|---|
Description? | Since E2E tests run only on the dev branch, we don't have real-time errors on upgrades. So adding run on the main branch |
Type? | improvement |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | no |
How to test? | no tests needed |
Possible impacts? | none |
- run: | | ||
cp -r .github .github_dev | ||
cp -r tests/e2e tests/e2e_dev | ||
cp docker-compose.yml docker-compose.dev.yml | ||
git fetch origin ${{ matrix.module_branch }} | ||
git checkout ${{ matrix.module_branch }} | ||
rm -rf .github docker-compose.yml tests/e2e | ||
mv .github_dev .github | ||
mv tests/e2e_dev tests/e2e | ||
mv docker-compose.dev.yml docker-compose.yml | ||
if: ${{ matrix.module_branch != 'dev' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since some directories/files are not merged on the master branch, adding the same files from the dev branch to be able to run tests.
@@ -38,7 +38,8 @@ Upgrade | |||
Log out | |||
Check new version | |||
*/ | |||
describe(`Upgrade PrestaShop from '${global.PS_VERSION}' to '${global.PS_VERSION_UPGRADE_TO}'`, async () => { | |||
// eslint-disable-next-line max-len | |||
describe(`[${global.AUTOUPGRADE_VERSION}] Upgrade PrestaShop from '${global.PS_VERSION}' to '${global.PS_VERSION_UPGRADE_TO}'`, async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @boubkerbribri |