Skip to content

Commit 81dc799

Browse files
authored
Merge pull request #101 from NHSDigital/ryma2fhir-patch-6
Split QC & spell Check into 2 jobs
2 parents a07fb61 + 93be784 commit 81dc799

1 file changed

Lines changed: 19 additions & 8 deletions

File tree

.github/workflows/QualityControlChecker.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@ on:
99

1010
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1111
jobs:
12-
build:
12+
job1:
13+
name: Quality Control Checker
1314
runs-on: ubuntu-latest
14-
# Steps represent a sequence of tasks that will be executed as part of the job
1515
steps:
16-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1716
- uses: actions/checkout@v4
1817
with:
1918
submodules: true
20-
21-
#- name: Checkout repo content
22-
# uses: actions/checkout@v4
23-
19+
2420
- name: Check out test_script
2521
uses: actions/checkout@master
2622
with:
@@ -39,6 +35,21 @@ jobs:
3935
4036
- name: Execute Naming Convention Check
4137
run: python test_scripts/QualityControlChecker/QualityControlChecker.py
42-
38+
39+
job2:
40+
name: Spell Checker
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
with:
45+
submodules: true
46+
47+
- name: Check out test_script
48+
uses: actions/checkout@master
49+
with:
50+
repository: NHSDigital/IOPS-FHIR-Test-Scripts
51+
ref: main
52+
path: test_scripts
53+
4354
- name: Execute Spell Check
4455
run: find -type f -name "*.xml" -exec sh -c 'for f; do echo $f;aspell list --camel-case --lang en_GB -W 2 -p ./test_scripts/IGPageContentValidator/.aspell.en.pws <$f |sort|uniq -c;done' sh {} \;

0 commit comments

Comments
 (0)