Skip to content
Open
Changes from 3 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
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,25 @@ jobs:
dist/${{ steps.artifact-name.outputs.wheel }}
retention-days: 5

smoke-tests:
name: Smoke tests
needs:
- build

runs-on: ubuntu-latest

steps:
- name: Switch to using Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.11

- name: >-
Smoke-test:
retrieve the project source from an sdist inside the GHA artifact
uses: re-actors/checkout-python-sdist@release/v2
with:
source-tarball-name: ${{ steps.artifact-name.outputs.sdist }}
source-tarball-name: ${{ needs.build.outputs.sdist-artifact-name }}
workflow-artifact-name: ${{ env.dists-artifact-name }}

- name: >-
Expand Down Expand Up @@ -149,6 +162,7 @@ jobs:
name: 'Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})'
needs:
- build
- smoke-tests

timeout-minutes: 20
runs-on: 'windows-latest'
Expand Down Expand Up @@ -222,6 +236,7 @@ jobs:
name: 'Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})'
needs:
- build
- smoke-tests

timeout-minutes: 10
runs-on: 'ubuntu-latest'
Expand Down Expand Up @@ -295,6 +310,7 @@ jobs:
name: 'macOS (${{ matrix.python }})'
needs:
- build
- smoke-tests

timeout-minutes: 15
runs-on: 'macos-latest'
Expand Down Expand Up @@ -338,6 +354,7 @@ jobs:
name: "Alpine"
needs:
- build
- smoke-tests

runs-on: ubuntu-latest
container: alpine
Expand Down Expand Up @@ -383,6 +400,7 @@ jobs:
name: "Cython"
needs:
- build
- smoke-tests

runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -456,6 +474,7 @@ jobs:
if: always()

needs:
- smoke-tests
- Windows
- Ubuntu
- macOS
Expand Down
Loading