From f7ed01e6c366c96a4c1a49dd7176fe51f04fd783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wr=C3=B3bel?= Date: Mon, 2 May 2022 14:36:14 +0200 Subject: [PATCH] #236: - added package import after installation --- .github/workflows/package-installation.yml | 4 ++++ scripts/test_imports.py | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 scripts/test_imports.py diff --git a/.github/workflows/package-installation.yml b/.github/workflows/package-installation.yml index 651de1940..abece4ddd 100644 --- a/.github/workflows/package-installation.yml +++ b/.github/workflows/package-installation.yml @@ -47,3 +47,7 @@ jobs: export ZOLTAN=${{ env.zoltan_dir }} pip install -r ${{ env.zoltan_dir }}/pyzoltan/requirements.txt pip install pyzoltan --no-build-isolation + + - name: Importing Packages + run: | + python3 ${{ env.home_dir }}/scripts/test_imports.py diff --git a/scripts/test_imports.py b/scripts/test_imports.py new file mode 100644 index 000000000..92fff7e6d --- /dev/null +++ b/scripts/test_imports.py @@ -0,0 +1,10 @@ +import vtk +import numpy +import yaml +import brotli +import schema +import sklearn +import colorama + +import mpi4py +from pyzoltan.core import zoltan