Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
test:
name: unit tests
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -148,3 +149,40 @@ jobs:
run: |
pip install -r ./tests/ci/requirements.txt
./tests/ci/vitest.py

full-test:
name: full end-to-end test with coverage report
runs-on: ubuntu-latest
timeout-minutes: 10

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Vitest Test
run: |
pip install -r ./tests/ci/requirements.txt
./tests/ci/full-test.py

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
id: coverage-report
with:
name: (full-test) coverage-report
path: coverage
retention-days: 3

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: (full-test) server-logs
path: /tmp/backend.log
retention-days: 3
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ package-lock.json
# ======================================================================
tests/client-config.yaml

# ======================================================================
# test coverage
# ======================================================================
coverage/

# ======================================================================
# python
# ======================================================================
Expand Down
Loading
Loading