Skip to content

Commit

Permalink
Strip down the CI script to do testing but no releases, after adding …
Browse files Browse the repository at this point in the history
…a dedicated wheel building workflow.
  • Loading branch information
scoder committed Jan 10, 2024
1 parent f6b3928 commit ae09db5
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build & Publish wheel
name: CI tests

on:
push:
Expand All @@ -23,12 +23,6 @@ jobs:
- name: Build sdist
run: make sdist

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.tar.gz

- name: Archive sdist
uses: actions/upload-artifact@v3
with:
Expand All @@ -42,10 +36,10 @@ jobs:
fail-fast: false

matrix:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]

include:
- python-version: "3.12-dev"
- python-version: "3.13-dev"
allowed_failure: true

runs-on: ubuntu-20.04
Expand Down Expand Up @@ -133,12 +127,6 @@ jobs:
- name: Copy wheels in dist
run: cp -v wheelhouse*/*-m*linux*.whl dist/ # manylinux / musllinux

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.whl

- name: Archive Wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -155,10 +143,10 @@ jobs:
#os: [macos-10.15, windows-latest]
#os: [macos-10.15, macOS-M1]
os: [macos-11.0, windows-latest]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]

include:
- python-version: "3.12-dev"
- python-version: "3.13-dev"
allowed_failure: true
exclude:
- python-version: "2.7"
Expand Down Expand Up @@ -198,12 +186,6 @@ jobs:
- name: Run slow tests
run: make testslow

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.whl

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit ae09db5

Please sign in to comment.