Skip to content

Commit

Permalink
Update GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzu-Typ committed Oct 7, 2024
1 parent 5da78c8 commit d05a821
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/deploy-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: workflow_dispatch

env:
CIBW_BUILD: cp3*
CIBW_SKIP: cp36-* cp37-*
CIBW_SKIP: cp36-* cp37-* cp38-*
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {project}/test/PyGLM_test.py -v

Expand All @@ -24,13 +24,13 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -54,13 +54,13 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }}
uses: docker/setup-qemu-action@v3

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }}
uses: docker/setup-qemu-action@v3

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -159,10 +159,10 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install build
run: pip install build
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
CIBW_BUILD: cp3*
CIBW_SKIP: cp36-* cp37-*
CIBW_SKIP: cp36-* cp37-* cp38-*
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {project}/test/PyGLM_test.py -v

Expand All @@ -27,13 +27,13 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -57,13 +57,13 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down Expand Up @@ -100,13 +100,13 @@ jobs:
if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }}
uses: docker/setup-qemu-action@v3

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down Expand Up @@ -139,13 +139,13 @@ jobs:
if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }}
uses: docker/setup-qemu-action@v3

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.21.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -162,10 +162,10 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
python-version: '3.13'

- name: Install build
run: pip install build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down

0 comments on commit d05a821

Please sign in to comment.