Skip to content

Commit

Permalink
enable full matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Jan 8, 2025
1 parent c5d0685 commit 77f6635
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
- v*
workflow_dispatch:
env:
PACKAGE_NAME: getdaft
PYTHON_VERSION: 3.11
DAFT_ANALYTICS_ENABLED: '0'
UV_SYSTEM_PYTHON: 1
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 77f6635

Please sign in to comment.