Skip to content

Commit

Permalink
Wheels for 3.12 (1.4) (#52)
Browse files Browse the repository at this point in the history
Builds for 3.12
  • Loading branch information
vaultah committed Oct 23, 2023
1 parent fa7030f commit 3108e59
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,69 @@ jobs:
name: ${{ env.WHEEL_NAME }}
- run: python -m pip install ${{ env.WHEEL_NAME }}[test]
- run: python -m pytest --pyargs replicat.tests

# 3.12 builds
build-312-windows:
needs: lint
uses: ./.github/workflows/build-windows.yml
with:
python-version: '3.12'

build-312-linux:
needs: lint
uses: ./.github/workflows/build-linux.yml
with:
python-version: '3.12'

build-312-macos:
needs: lint
uses: ./.github/workflows/build-macos.yml
with:
python-version: '3.12'

# 3.12 tests
test-312-windows:
needs: build-312-windows
runs-on: windows-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- run: echo "WHEEL_NAME=${{ needs.build-312-windows.outputs.wheel_name }}" >> $GITHUB_ENV
shell: bash
- uses: actions/download-artifact@v2
with:
name: ${{ env.WHEEL_NAME }}
- run: python -m pip install ${{ env.WHEEL_NAME }}[test]
- run: python -m pytest --pyargs replicat.tests

test-312-linux:
needs: build-312-linux
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- run: echo "WHEEL_NAME=${{ needs.build-312-linux.outputs.wheel_name }}" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with:
name: ${{ env.WHEEL_NAME }}
- run: python -m pip install ${{ env.WHEEL_NAME }}[test]
- run: python -m pytest --pyargs replicat.tests

test-312-macos:
needs: build-312-macos
runs-on: macos-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- run: echo "WHEEL_NAME=${{ needs.build-312-macos.outputs.wheel_name }}" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with:
name: ${{ env.WHEEL_NAME }}
- run: python -m pip install ${{ env.WHEEL_NAME }}[test]
- run: python -m pytest --pyargs replicat.tests
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,22 @@ jobs:
with:
python-version: '3.11'

# 3.12 builds
build-312-windows:
uses: ./.github/workflows/build-windows.yml
with:
python-version: '3.12'

build-312-linux:
uses: ./.github/workflows/build-linux.yml
with:
python-version: '3.12'

build-312-macos:
uses: ./.github/workflows/build-macos.yml
with:
python-version: '3.12'

build-sdist:
runs-on: ubuntu-latest
steps:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,22 @@ jobs:
with:
python-version: '3.11'

# 3.12 builds
build-312-windows:
uses: ./.github/workflows/build-windows.yml
with:
python-version: '3.12'

build-312-linux:
uses: ./.github/workflows/build-linux.yml
with:
python-version: '3.12'

build-312-macos:
uses: ./.github/workflows/build-macos.yml
with:
python-version: '3.12'

build-sdist:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3108e59

Please sign in to comment.