From ac7f22bd5dc844ce0fb2ed1a10ca36ddeedf9f46 Mon Sep 17 00:00:00 2001 From: "hirzel@us.ibm.com" Date: Fri, 19 Jan 2024 18:24:55 -0500 Subject: [PATCH] When testing with Python 3.8, exclude a couple of notebooks that only work in other Python versions. --- .github/workflows/build.yml | 40 +++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a7aa49f1..f70d2c0fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -437,37 +437,33 @@ jobs: strategy: fail-fast: false matrix: - category: - - demo_ - - docs_ - - talk_ - python-version: [3.7, 3.8, 3.9, '3.10'] - setup-target: ['.[full,test]'] - test-case: ['test/test_notebooks.py'] - dir: ['examples'] - nbexcludes: [''] include: - - dir: 'examples/kdd22' - python-version: 3.7 - setup-target: '.[tutorial,test]' + - dir: 'examples' + python-version: [3.7, 3.9, '3.10'] + category: + - demo_ + - docs_ + - talk_ + setup-target: '.[full,test]' test-case: 'test/test_notebooks.py' - # nbexcludes: '06_multobj.ipynb' - - dir: 'examples/kdd22' - python-version: 3.8 - setup-target: '.[tutorial,test]' + - dir: 'examples' + python-version: [3.8] + category: + - demo_ + - docs_ + - talk_ + setup-target: '.[full,test]' test-case: 'test/test_notebooks.py' - # nbexcludes: '06_multobj.ipynb' + nbexcludes: 'demo_auto_pipeline.ipynb' - dir: 'examples/kdd22' - python-version: 3.9 + python-version: [3.7, 3.9, '3.10'] setup-target: '.[tutorial,test]' test-case: 'test/test_notebooks.py' - # nbexcludes: '06_multobj.ipynb' - dir: 'examples/kdd22' - python-version: '3.10' + python-version: 3.8 setup-target: '.[tutorial,test]' test-case: 'test/test_notebooks.py' - # nbexcludes: '06_multobj.ipynb' - + nbexcludes: '02_total.ipynb' steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }}