Editorial #1605
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Translation Test (CSAF 2.1) | |
| on: | |
| push: | |
| paths: | |
| - 'csaf_2.1/**' | |
| pull_request: | |
| paths: | |
| - 'csaf_2.1/**' | |
| jobs: | |
| validator-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Prepare environment | |
| run: | | |
| sudo apt-get remove python3-jsonschema | |
| sudo apt-get update -q && sudo apt-get install -y --no-install-recommends -qq \ | |
| python3 \ | |
| python3-simplejson \ | |
| python3-pip \ | |
| python3-setuptools \ | |
| python3-wheel | |
| pip3 install jsonschema[format] python-jsonpath | |
| - name: Check jsonschema version | |
| run: python3 -c "from importlib.metadata import version; print(version('jsonschema'))" | |
| - name: language_specific_translation/translations.json against testcase schema | |
| run: ./csaf_2.1/test/language_specific_translation/run_Tests.sh |