Skip to content

Commit 222a861

Browse files
First attempt at validation step for the TestScripts
1 parent cbc9c4a commit 222a861

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Repo integrity 2
2+
3+
on: pull_request
4+
5+
jobs:
6+
conformance:
7+
name: Validate changed TestScript resources against the Conformancelab profile
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: Get the changed TestScripts
15+
id: get-changed-testscripts
16+
run: |
17+
files=$(git diff --name-only --diff-filter=ACM --ignore-space-at-eol main -- 'output/*.xml' ':(exclude)*/_reference/*.xml')
18+
echo "files=$files"
19+
20+
- name: Show me what you have
21+
run: echo ${{ steps.get-changed-testscripts.outputs.files }}
22+

0 commit comments

Comments
 (0)