Skip to content

Commit 892762b

Browse files
committed
Run tests
1 parent e4b675a commit 892762b

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,35 @@ jobs:
6767
with:
6868
name: dist
6969
path: dist
70-
if-no-files-found: error
70+
if-no-files-found: error
71+
run-tests:
72+
needs: [ build-wheel ]
73+
strategy:
74+
matrix:
75+
include:
76+
- name: x86_64-linux
77+
image: ubuntu-22.04
78+
- name: x86_64-windows
79+
image: windows-2022
80+
- name: x86_64-darwin
81+
image: macos-13
82+
- name: aarch64-darwin
83+
image: macos-13
84+
runs-on: ${{ matrix.image }}
85+
steps:
86+
- name: Checkout repository
87+
uses: actions/checkout@v4
88+
- uses: astral-sh/setup-uv@v4
89+
- uses: actions/download-artifact@v4
90+
with:
91+
name: dist
92+
- if: matrix.name == 'x86_64-windows'
93+
run: |
94+
uv venv
95+
.venv\Scripts\activate
96+
for %i in (sdf-*-py3-none-any.whl) do uv pip install %i
97+
- if: matrix.name != 'x86_64-windows'
98+
run: |
99+
uv venv
100+
source .venv\Scripts\activate
101+
uv pip install sdf-*-py3-none-any.whl

0 commit comments

Comments
 (0)