From 1aed59cc79f44ddb0f81f812555930770097f860 Mon Sep 17 00:00:00 2001 From: Mistifiou Date: Thu, 12 Jun 2025 07:27:42 +0000 Subject: [PATCH] Add coverage artifact to CI --- .github/workflows/test.yml | 5 +++++ README.md | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eeb9944..406737b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,3 +14,8 @@ jobs: cache: 'npm' - run: npm ci --ignore-scripts - run: npm run test:ci + - uses: actions/upload-artifact@v3 + if: always() + with: + name: coverage + path: coverage diff --git a/README.md b/README.md index 5de398f..652acca 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ This repository only provides a skeleton. See [TEMPLATE.md](TEMPLATE.md) for fol - `npm run docs:build` to generate `dist/` Once dependencies are installed, run `npm test` to execute the tests. No demo scripts are shipped: nothing runs until the agent acts. +Test coverage reports are stored as a GitHub Actions artifact on pull requests. ## Configuration Adjust environment variables or package scripts directly when customizing the