From e49be88dcdc38836a62cf909b843f7277d2b9a00 Mon Sep 17 00:00:00 2001 From: Pablo Piskunow Date: Sat, 25 Nov 2023 06:52:31 +0100 Subject: [PATCH] also build kwant for typguard nox session --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e544cd8..90cf525 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,18 +44,18 @@ jobs: poetry --version - name: Install System Dependencies (Ubuntu) - if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit') + if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit' || matrix.session == 'typeguard') run: | sudo apt-get update sudo apt-get install -y python3-dev python3-setuptools python3-scipy python3-matplotlib python3-pytest python3-sympy g++ build-essential gfortran libopenblas-dev liblapack-dev libmumps-scotch-dev - name: Install Python dependencies (Ubuntu) - if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit') + if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit' || matrix.session == 'typeguard') run: | python -m pip install cython tinyarray - name: Clone and Install kwant (Ubuntu) - if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit') + if: startsWith(matrix.os, 'ubuntu') && (matrix.session == 'tests' || matrix.session == 'pre-commit' || matrix.session == 'typeguard') run: | git clone https://github.com/kwant-project/kwant.git cd kwant