Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions .github/workflows/QualityControlChecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
job1:
name: Quality Control Checker
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
submodules: true

#- name: Checkout repo content
# uses: actions/checkout@v4


- name: Check out test_script
uses: actions/checkout@master
with:
Expand All @@ -39,6 +35,21 @@ jobs:

- name: Execute Naming Convention Check
run: python test_scripts/QualityControlChecker/QualityControlChecker.py


job2:
name: Spell Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Check out test_script
uses: actions/checkout@master
with:
repository: NHSDigital/IOPS-FHIR-Test-Scripts
ref: main
path: test_scripts

- name: Execute Spell Check
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 {} \;