Skip to content

Commit 60a396b

Browse files
authored
🚨 tests: Testing Matrix - Code Coverage (Push) (#52)
1 parent efd9589 commit 60a396b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

‎.github/workflows/ct-matrix.yml‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@
44
# 3. Upload code coverage
55
---
66
name: Testing Matrix
7-
run-name: PR#${{ github.event.number }}${{ github.event.pull_request.draft && ' [DRAFT]' || '' }} - Continuous Testing (Matrix) - (${{ github.event.pull_request.head.ref }}-to-${{ github.event.pull_request.base.ref }})
7+
run-name: >-
8+
${{
9+
format(
10+
'{0}{1}{2} - Continuous Testing (Matrix) - ({3}-to-{4})',
11+
github.event_name == 'pull_request' && 'PR#' || 'Push',
12+
github.event.pull_request.draft && ' [DRAFT]' || '',
13+
github.event_name == 'pull_request' && github.event.number || format(' [{0}]',github.ref_name),
14+
github.event.pull_request.head.ref,
15+
github.event.pull_request.base.ref
16+
)
17+
}}
818
919
on:
20+
push:
21+
branches:
22+
- main
1023
pull_request:
1124
branches:
1225
- main
@@ -51,14 +64,16 @@ jobs:
5164
### Initialize ###
5265
####################################################################################################
5366
# Check for Changes in the Non-Ignored Files; If there are none, then Skip Tests
54-
# Skip: README, LICENSE, .gitignore, GitHub Workflows & Actions, etc.
67+
# Skip: README, CHANGELOG, LICENSE, THIRD-PARTY-LICENSES, .gitignore, GitHub Workflows & Actions, etc.
5568
- name: Check for Changes to Determine if Tests can be Skipped
5669
id: getChanges
5770
uses: tj-actions/changed-files@v45.0.3
5871
with:
5972
files_ignore: |
6073
README.md
74+
CHANGELOG.md
6175
LICENSE
76+
THIRD-PARTY-LICENSES
6277
.github/**
6378
.gitignore
6479

0 commit comments

Comments
 (0)