Skip to content
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

Feat/Add e2e tests on CI #168

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
add artifacts upload
  • Loading branch information
andtos90 committed Feb 29, 2024
commit 46a60703b3911e8836e11ad172ca60ebfdbd982a
13 changes: 9 additions & 4 deletions .github/workflows/e2e-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
deployment_status:
jobs:
run-e2es:
env:
E2E_WALLET_ENDPOINT: ${{ secrets.E2E_WALLET_ENDPOINT }}
E2E_ODOO_USERNAME: ${{ secrets.E2E_ODOO_USERNAME }}
E2E_ODOO_PASSWORD: ${{ secrets.E2E_ODOO_PASSWORD }}
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
Expand All @@ -21,3 +17,12 @@ jobs:
run: pnpm e2e
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}
E2E_WALLET_ENDPOINT: ${{ secrets.E2E_WALLET_ENDPOINT }}
E2E_ODOO_USERNAME: ${{ secrets.E2E_ODOO_USERNAME }}
E2E_ODOO_PASSWORD: ${{ secrets.E2E_ODOO_PASSWORD }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 1
Loading