summaryrefslogtreecommitdiffstats
path: root/fastify-busboy/.github/workflows/coverage.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
commit0b6210cd37b68b94252cb798598b12974a20e1c1 (patch)
treee371686554a877842d95aa94f100bee552ff2a8e /fastify-busboy/.github/workflows/coverage.yml
parentInitial commit. (diff)
downloadnode-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.tar.xz
node-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.zip
Adding upstream version 5.28.2+dfsg1+~cs23.11.12.3.upstream/5.28.2+dfsg1+_cs23.11.12.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fastify-busboy/.github/workflows/coverage.yml')
-rw-r--r--fastify-busboy/.github/workflows/coverage.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/fastify-busboy/.github/workflows/coverage.yml b/fastify-busboy/.github/workflows/coverage.yml
new file mode 100644
index 0000000..3d7b943
--- /dev/null
+++ b/fastify-busboy/.github/workflows/coverage.yml
@@ -0,0 +1,44 @@
+---
+
+name: coverage
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ name: coverage
+
+ strategy:
+ matrix:
+ node-version: [16.x]
+
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 1
+
+ - name: Setup Node ${{ matrix.node-version }}
+ uses: actions/setup-node@v4
+ with:
+ always-auth: false
+ node-version: ${{ matrix.node-version }}
+
+ - name: Run npm install
+ run: npm install
+
+ - name: Run Tests
+ run: npm run test:coverage
+
+ - name: Generate LCOV
+ run: npm run coveralls
+
+ - name: Update Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ if: success()