From 459e9a81fb96cc90453a9f712863036889f30cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezequiel=20P=C3=A1ssaro?= Date: Tue, 2 May 2023 10:43:28 -0300 Subject: [PATCH] Build for multiple Python versions --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3105744..ea50ace 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,15 @@ on: jobs: jamspell: + strategy: + matrix: + py_version: ['3.9', '3.10', '3.11'] runs-on: ubuntu-20.04 steps: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: ${{ matrix.py_version }} - name: Install dependencies run: | @@ -37,12 +40,15 @@ jobs: if-no-files-found: error detectron2: + strategy: + matrix: + py_version: ['3.9', '3.10', '3.11'] runs-on: ubuntu-20.04 steps: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: ${{ matrix.py_version }} - name: Install pip dependencies run: pip install setuptools wheel --extra-index-url https://download.pytorch.org/whl/cpu torch==2.0.0 torchvision==0.15.1