ci: Add python-jsonschema

Which is used to validate the json schema files in the various test
directories in a unit test.
pull/6816/head
Dylan Baker 4 years ago
parent a3f39fde1b
commit 91050e0c7c
  1. 2
      .github/workflows/os_comp.yml
  2. 6
      azure-pipelines.yml
  3. 1
      ci/ciimage/arch/install.sh
  4. 2
      ci/run.ps1
  5. 1
      ci/travis_install.sh

@ -15,7 +15,7 @@ jobs:
- name: Install Dependencies
run: |
sudo apt update -yq
sudo apt install -yq --no-install-recommends python3-setuptools python3-pip g++ gfortran gobjc gobjc++ zlib1g-dev python-dev python3-dev
sudo apt install -yq --no-install-recommends python3-setuptools python3-pip g++ gfortran gobjc gobjc++ zlib1g-dev python-dev python3-dev python3-jsonschema
- name: Install ninja-build tool
uses: seanmiddleditch/gha-setup-ninja@v1
- name: Python version

@ -100,8 +100,8 @@ jobs:
displayName: Install Dependencies
- script: |
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
env.exe -- python3 -m pip --disable-pip-version-check install pefile pytest-xdist
displayName: pip install pefile pytest-xdist
env.exe -- python3 -m pip --disable-pip-version-check install pefile pytest-xdist jsonschema
displayName: pip install pefile pytest-xdist jsonschema
- script: |
set BOOST_ROOT=
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
@ -169,7 +169,7 @@ jobs:
mingw-w64-$(MSYS2_ARCH)-python3-setuptools ^
mingw-w64-$(MSYS2_ARCH)-python3-pip ^
%TOOLCHAIN%
%MSYS2_ROOT%\usr\bin\bash -lc "python3 -m pip --disable-pip-version-check install pefile"
%MSYS2_ROOT%\usr\bin\bash -lc "python3 -m pip --disable-pip-version-check install pefile jsonschema"
displayName: Install Dependencies
- script: |
set BOOST_ROOT=

@ -12,6 +12,7 @@ pkgs=(
itstool gtk3 java-environment=8 gtk-doc llvm clang sdl2 graphviz
doxygen vulkan-validation-layers openssh mercurial gtk-sharp-2 qt5-tools
libwmf valgrind cmake netcdf-fortran openmpi nasm gnustep-base gettext
python-jsonschema
# cuda
)

@ -67,7 +67,7 @@ python --version
# Needed for running unit tests in parallel.
echo ""
python -m pip --disable-pip-version-check install --upgrade pefile pytest-xdist
python -m pip --disable-pip-version-check install --upgrade pefile pytest-xdist jsonschema
echo ""
echo "=== Start running tests ==="

@ -11,6 +11,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
if [[ "$MESON_ARGS" =~ .*unity=on.* ]]; then
which pkg-config || brew install pkg-config
fi
python3 -m pip install jsonschema
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
msg "Running Linux setup"
docker pull mesonbuild/eoan

Loading…
Cancel
Save