mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org> Signed-off-by: xphoniex <dj.2dixx@gmail.com> Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
co-authored by
Rūdolfs Ošiņš
parent
adc159a71e
commit
f72405a3e4
@@ -12,7 +12,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
browser: [chromium, firefox, visual]
|
||||
browser: [chromium, firefox, visual, heartwood]
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -59,12 +59,19 @@ jobs:
|
||||
run: npx playwright install-deps
|
||||
|
||||
- name: Start http-api test server
|
||||
run: ./scripts/run-http-api-with-fixtures --non-interactive --detach
|
||||
run: |
|
||||
if [ ${{ matrix.browser }} = "heartwood" ]; then
|
||||
./scripts/run-httpd-with-fixtures --non-interactive --detach
|
||||
else
|
||||
./scripts/run-http-api-with-fixtures --non-interactive --detach
|
||||
fi
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: |
|
||||
if [ ${{ matrix.browser }} = "visual" ] && [ ${{ github.ref }} = "refs/heads/master" ]; then
|
||||
npm run test:e2e -- --project ${{ matrix.browser }} --update-snapshots;
|
||||
elif [ ${{ matrix.browser }} = "heartwood" ]; then
|
||||
HEARTWOOD=true npm run test:e2e -- --project chromium;
|
||||
else
|
||||
npm run test:e2e -- --project ${{ matrix.browser }};
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user