Skip to content

Commit

Permalink
#972: bump sidx1024/report-nyc-coverage-github-action from 1.2.6 to 1…
Browse files Browse the repository at this point in the history
….2.7
  • Loading branch information
JoernBerkefeld committed Jun 6, 2023
1 parent 4212fe8 commit 96a6abd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 36 deletions.
20 changes: 0 additions & 20 deletions .coverage-comment-template.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/coverage-base-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update coverage comment
name: Update coverage comment (base-update.yml)
on:
pull_request:
types: [edited]
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
files: 'base-artifacts/coverage-summary.json, artifacts/coverage-summary.json'

- name: Update Coverage comment
uses: sidx1024/report-nyc-coverage-github-action@v1.2.6
uses: sidx1024/report-nyc-coverage-github-action@v1.2.7
if: steps.check_files.outputs.files_exists == 'true'
# Only runs if all of the files exists
with:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/coverage-develop-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test coverage for develop branch
name: Test coverage for develop branch (default-branch.yml)

on:
push:
Expand All @@ -8,17 +8,14 @@ on:
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test and report
name: Test and upload coverage
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.ref }}
fetch-depth: 1000

- name: Fetch base
run: git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1000

- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/coverage-main-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test coverage for main branch
name: Test coverage for main branch (default-branch.yml)

on:
push:
Expand All @@ -8,17 +8,14 @@ on:
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test and report
name: Test and upload coverage
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.ref }}
fetch-depth: 1000

- name: Fetch base
run: git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1000

- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: [pull_request]

name: Test coverage report
name: Test coverage report (main.yml)
jobs:
hello_world_job:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
files: 'base-artifacts/coverage-summary.json'

- name: Report coverage
uses: sidx1024/report-nyc-coverage-github-action@v1.2.6
uses: sidx1024/report-nyc-coverage-github-action@v1.2.7
id: report
with:
coverage_file: 'artifacts/test-coverage-output/coverage-summary.json'
Expand Down

0 comments on commit 96a6abd

Please sign in to comment.