Add CLI tooling to create seed fixtures on the fly

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-05-12 14:23:10 +02:00
parent 45c6f20855
commit c32b303744
20 changed files with 1073 additions and 458 deletions
+3 -2
View File
@@ -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
+3 -2
View File
@@ -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: |