diff --git a/.github/workflows/QualityControlChecker.yml b/.github/workflows/QualityControlChecker.yml index dbe12a7..69d4e2c 100644 --- a/.github/workflows/QualityControlChecker.yml +++ b/.github/workflows/QualityControlChecker.yml @@ -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: @@ -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 {} \;