First attempt at Playwright integration into pipeline
This commit is contained in:
parent
482c3a7d13
commit
2674858626
|
@ -113,6 +113,30 @@ jobs:
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python main.py
|
python main.py
|
||||||
|
|
||||||
|
end2end-tests:
|
||||||
|
needs: test
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout E2E tests repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: trustchain-oc1-orchestral/IdHub_E2E_testing
|
||||||
|
ref: master
|
||||||
|
token: ${{ secrets.SSIKIT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
|
||||||
|
- name: Install Playwright browsers
|
||||||
|
run: |
|
||||||
|
npx playwright install --with-deps
|
||||||
|
|
||||||
|
- name: Run Playwright tests
|
||||||
|
run: |
|
||||||
|
npx playwright test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
Loading…
Reference in New Issue