Add httpd-client api library

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-04-11 15:31:08 +02:00
parent 045890d2e1
commit c8c251fabd
80 changed files with 2391 additions and 1801 deletions
@@ -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