File tree Expand file tree Collapse file tree 1 file changed +39
-2
lines changed
Expand file tree Collapse file tree 1 file changed +39
-2
lines changed Original file line number Diff line number Diff line change 33 release :
44 types : [published] # triggered whenever a new GitHub release is published
55jobs :
6+ test-native-runner :
7+ name : Test (Daft native runner)
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+ - name : Install uv
15+ uses : astral-sh/setup-uv@v7
16+ with :
17+ python-version : " 3.9"
18+ - name : Install dependencies
19+ run : uv sync --all-extras
20+ - name : Run unit tests (Daft native runner)
21+ run : uv run pytest -m "not distributed and not integration"
22+ env :
23+ DAFT_RUNNER : native
24+
25+ test-distributed-runner :
26+ name : Test (Daft Ray runner)
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout
30+ uses : actions/checkout@v4
31+ with :
32+ fetch-depth : 0
33+ - name : Install uv
34+ uses : astral-sh/setup-uv@v7
35+ with :
36+ python-version : " 3.9"
37+ - name : Install dependencies
38+ run : uv sync --all-extras
39+ - name : Run distributed tests (Daft Ray runner)
40+ run : uv run pytest -m "distributed"
41+ env :
42+ DAFT_RUNNER : ray
43+
644 build-n-publish :
745 name : Build and publish Python distributions to PyPI
846 runs-on : ubuntu-latest
47+ needs : [test-native-runner, test-distributed-runner]
948 steps :
1049 - name : Checkout
1150 uses : actions/checkout@v4
1756 python-version : " 3.9"
1857 - name : Install dependencies
1958 run : uv sync --all-extras
20- - name : Run unit tests
21- run : uv run pytest -m "not integration"
2259 - name : Echo release tag
2360 run : echo ${{ github.ref_name }}
2461 - name : Build
You can’t perform that action at this time.
0 commit comments