From 77f6635a310dee5280dd758f226e7793f6036f7e Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Wed, 8 Jan 2025 00:43:55 -0800 Subject: [PATCH] enable full matrix --- .github/workflows/python-publish.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 72a070d8dd..896c79b603 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -15,7 +15,6 @@ on: - v* workflow_dispatch: env: - PACKAGE_NAME: getdaft PYTHON_VERSION: 3.11 DAFT_ANALYTICS_ENABLED: '0' UV_SYSTEM_PYTHON: 1 @@ -38,8 +37,7 @@ jobs: matrix: os: [ubuntu, macos, windows] compile_arch: [x86_64, aarch64] - # lts: [0, 1] # LongTerm Support CPUs - lts: [1] # LongTerm Support CPUs + lts: [0, 1] # LongTerm Support CPUs exclude: - os: windows @@ -119,15 +117,7 @@ jobs: rm -rf daft pytest -v env: - DAFT_RUNNER: py - # Disable until we figure out why are we getting FileNotFoundError: [WinError 3] Failed to open local file - # - name: Install and test built wheel - Windows x86_64 - # if: ${{ (matrix.os == 'windows') && (matrix.compile_arch == 'x86_64') }} - # run: | - # $FILES = Get-ChildItem -Path .\dist\${{ env.PACKAGE_NAME }}-*-win_amd64.whl -Force -Recurse - # pip install -r requirements-dev.txt $FILES[0].FullName --force-reinstall - # rd -r daft - # pytest -v + DAFT_RUNNER: native - name: Upload wheels uses: actions/upload-artifact@v4 @@ -177,7 +167,7 @@ jobs: path: dist - run: ls -R ./dist - name: Publish package distributions to PyPI - # if: ${{ success() && (env.IS_PUSH == 'true') }} + if: ${{ success() && (env.IS_PUSH == 'true') }} uses: pypa/gh-action-pypi-publish@release/v1 with: skip-existing: true