Skip to content

Commit aba73c7

Browse files
committed
ci: add ubuntu-latest test pipelines for highest/lowest torch
Add 4 GitHub-hosted Linux pipelines that run on ubuntu-latest: - highest-torch slow, highest-torch fast - lowest-torch slow, lowest-torch fast Each runs the corresponding make target with --junit and uploads its test-results artifact. Ungated and independent of the macOS self-hosted jobs so they also run on forks.
1 parent 050c1dd commit aba73c7

1 file changed

Lines changed: 80 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,83 @@ jobs:
5858
with:
5959
name: test-results-macos-highest-fast
6060
path: test-results/
61+
62+
linux-highest-slow:
63+
name: Linux / make test-highest-pytorch / markers=slow
64+
runs-on: ubuntu-latest
65+
timeout-minutes: 120
66+
steps:
67+
- name: Check out repository
68+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
69+
- name: Install uv
70+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
71+
with:
72+
enable-cache: false
73+
- name: Run `make test-highest-pytorch`
74+
run: make test-highest-pytorch PYTEST_ARGS="--marker slow --junit"
75+
- name: Upload test results
76+
if: always()
77+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
78+
with:
79+
name: test-results-linux-highest-slow
80+
path: test-results/
81+
82+
linux-highest-fast:
83+
name: Linux / make test-highest-pytorch / markers=not-slow
84+
runs-on: ubuntu-latest
85+
timeout-minutes: 60
86+
steps:
87+
- name: Check out repository
88+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
89+
- name: Install uv
90+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
91+
with:
92+
enable-cache: false
93+
- name: Run `make test-highest-pytorch`
94+
run: make test-highest-pytorch PYTEST_ARGS="--marker 'not slow' --junit"
95+
- name: Upload test results
96+
if: always()
97+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
98+
with:
99+
name: test-results-linux-highest-fast
100+
path: test-results/
101+
102+
linux-lowest-slow:
103+
name: Linux / make test-lowest-pytorch / markers=slow
104+
runs-on: ubuntu-latest
105+
timeout-minutes: 120
106+
steps:
107+
- name: Check out repository
108+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
109+
- name: Install uv
110+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
111+
with:
112+
enable-cache: false
113+
- name: Run `make test-lowest-pytorch`
114+
run: make test-lowest-pytorch PYTEST_ARGS="--marker slow --junit"
115+
- name: Upload test results
116+
if: always()
117+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
118+
with:
119+
name: test-results-linux-lowest-slow
120+
path: test-results/
121+
122+
linux-lowest-fast:
123+
name: Linux / make test-lowest-pytorch / markers=not-slow
124+
runs-on: ubuntu-latest
125+
timeout-minutes: 60
126+
steps:
127+
- name: Check out repository
128+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
129+
- name: Install uv
130+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
131+
with:
132+
enable-cache: false
133+
- name: Run `make test-lowest-pytorch`
134+
run: make test-lowest-pytorch PYTEST_ARGS="--marker 'not slow' --junit"
135+
- name: Upload test results
136+
if: always()
137+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
138+
with:
139+
name: test-results-linux-lowest-fast
140+
path: test-results/

0 commit comments

Comments
 (0)