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 7b17479..07c8ff9 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ Use the `.nvmrc` file to switch versions if you manage Node with `nvm`. - `npm run docs:dev` to launch the documentation server - `npm run docs:build` to generate `dist/` -Once dependencies are installed, run `npm test` to execute the tests. +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