Skip to content

Commit

Permalink
Add test step to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Mar 8, 2024
1 parent 8154cf6 commit 292abb6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,31 @@ jobs:
name: bdist_wheel_${{ matrix.os }}_${{ matrix.arch }}
path: dist/bitsandbytes-*.whl
retention-days: 7
test:
needs:
- build-wheels
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
arch: x86_64
python-version: "3.8"
- os: windows-latest
arch: x86_64
python-version: "3.8"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: "bdist_wheel_${{ matrix.os }}_${{ matrix.arch }}*"
path: wheel/
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: ls -lar wheel/
- run: pip install wheel/*.whl -r requirements-ci.txt
- run: pytest --log-cli-level=DEBUG tests

0 comments on commit 292abb6

Please sign in to comment.