mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-31 01:00:47 +08:00
Add CLI tooling to create seed fixtures on the fly
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -36,10 +36,11 @@ jobs:
|
||||
if: steps.playwright-dep-cache.outputs.cache-hit != 'true'
|
||||
run: npx playwright install chromium firefox
|
||||
|
||||
- name: Start http-api test server
|
||||
- name: Install Radicle binaries
|
||||
run: |
|
||||
mkdir -p tests/artifacts;
|
||||
./scripts/run-httpd-with-fixtures --non-interactive --download 2>&1 | tee tests/artifacts/httpd-${{ matrix.browser }}.log &
|
||||
./scripts/install-binaries;
|
||||
./scripts/install-binaries --show-path >> $GITHUB_PATH;
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: |
|
||||
|
||||
@@ -18,8 +18,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- name: Start http-api test server
|
||||
- name: Install Radicle binaries
|
||||
run: |
|
||||
mkdir -p tests/artifacts;
|
||||
./scripts/run-httpd-with-fixtures --non-interactive --download 2>&1 | tee tests/artifacts/httpd-api.log &
|
||||
- run: npm run test:httpd-api:unit
|
||||
./scripts/install-binaries;
|
||||
./scripts/install-binaries --show-path >> $GITHUB_PATH;
|
||||
- run: |
|
||||
npm run test:httpd-api:unit
|
||||
|
||||
@@ -54,10 +54,11 @@ jobs:
|
||||
if: steps.playwright-dep-cache.outputs.cache-hit != 'true'
|
||||
run: npx playwright install chromium firefox
|
||||
|
||||
- name: Start http-api test server
|
||||
- name: Install Radicle binaries
|
||||
run: |
|
||||
mkdir -p tests/artifacts;
|
||||
./scripts/run-httpd-with-fixtures --non-interactive --download 2>&1 | tee tests/artifacts/httpd-visual.log &
|
||||
./scripts/install-binaries;
|
||||
./scripts/install-binaries --show-path >> $GITHUB_PATH;
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user