Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/unit-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
max-parallel: 15
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: ["3.9", "3.11", "3.14"]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -54,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

# Setup caching of the artifacts in the .m2 directory, so they don't have to
# all be downloaded again for every build.
Expand Down Expand Up @@ -106,11 +107,15 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
export PATH="/c/mingw64/bin:$PATH"
fi
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify
BLACK_VER_PROP=""
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
BLACK_VER_PROP="-Dblack.version=25.11.0"
fi
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify ${BLACK_VER_PROP}

- name: Upload whl Artifact
uses: actions/upload-artifact@v7
with:
name: tsfile-${{ runner.os }}-whl
name: tsfile-${{ runner.os }}-py${{ matrix.python-version }}-whl
path: python/dist/tsfile-*.whl
retention-days: 1
Loading