From f93078826204732d10ec806eec3464104812985d Mon Sep 17 00:00:00 2001 From: Dennis Burke Date: Mon, 5 Aug 2024 14:32:17 -0400 Subject: [PATCH] correct way to look up matrix value --- .github/workflows/lint_and_test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 047e6d8..14ced37 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -22,9 +22,8 @@ jobs: run: | imagesize='' pip install -U pytest pytest-cov coverage codecov - if [[ $INPUT_IMAGE_SIZE == true ]] ; then imagesize='[imagesize]' ; fi + if [[ ${{ matrix.image_size }} == true ]] ; then imagesize='[imagesize]' ; fi pip install -e ".${imagesize}" - echo "image_size: ${{ matrix.image_size }}" - name: run tests run: | pytest