Skip to content

Commit

Permalink
add a testing step too
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
esc committed Jan 21, 2025
1 parent 8c677dc commit 78d868d
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .github/workflows/llvmlite_win-64_conda_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
type: string

jobs:
windows:
name: windows
win-64-build:
name: win-64-build
runs-on: windows-2019
defaults:
run:
Expand Down Expand Up @@ -63,5 +63,36 @@ jobs:
with:
name: llvmlite-win-64-py${{ matrix.python-version }}
path: ${{ env.CONDA_PKG }}
compression-level: 0
retention-days: 7
if-no-files-found: error

win-64-test:
name: win-64-test
needs: win-64-build
runs-on: windows-2019
defaults:
run:
shell: bash -el {0}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false

- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ""

- name: Download llvmlite artifact
uses: actions/download-artifact@v4
with:
name: llvmlite-win-64-py${{ matrix.python-version }}

- name: Install llvmlite
run: conda install -c file://./llvmlite*.conda llvmlite

- name: Run tests
run: python -m llvmlite.tests

0 comments on commit 78d868d

Please sign in to comment.