mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: check-httpd-api-unit-test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check-httpd-api-unit-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18.15.0"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- name: Start http-api test server
|
||||
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
|
||||
Reference in New Issue
Block a user