Skip to content

Commit

Permalink
Merge branch 'fdc3-for-web-impl' into fdc3-for-web-impl-getAgent-refa…
Browse files Browse the repository at this point in the history
…ctor
  • Loading branch information
kriswest committed Dec 18, 2024
2 parents 0c86b2d + 34b2c9b commit 7d5e67c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/base-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test coverage for main branch

on:
push:
branches:
- main
- fdc3-for-web-impl

jobs:
test_and_upload_coverage:
runs-on: ubuntu-latest
name: Test and upload coverage
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.ref }}
fetch-depth: 1000

- name: Run tests
run: |
npm i
npm run test
npm run merge
npm run report
- name: Upload coverage artifact
uses: actions/upload-artifact@v2
with:
name: test-coverage-output
path: nyc-coverage-report
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Node.js CI Tests and Coverage
on:
pull_request:

# Allows Coverage to be written back as a PR comment
permissions:
pull-requests: write

# Define the jobs for this workflow
jobs:
test:
Expand Down

0 comments on commit 7d5e67c

Please sign in to comment.