Skip to content

Commit 29d1322

Browse files
committed
tests(dist): try running on self-hosted runner
1 parent a6255a1 commit 29d1322

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,11 @@ jobs:
139139
dist-tests:
140140
if: github.event.pull_request.draft == false
141141
needs: [conan-cache]
142-
runs-on: ubuntu-latest
142+
runs-on: self-hosted
143143
env:
144+
# Make a unique per-job cluster name, so that different instances can
145+
# run in parallel
146+
COMPOSE_PROJECT_NAME: faabric-gha-${{ github.job }}-${{ github.run_id }}-${{ github.run_attempt }}
144147
CONAN_CACHE_MOUNT_SOURCE: ~/.conan/
145148
steps:
146149
- name: "Log in to ACR"
@@ -162,6 +165,9 @@ jobs:
162165
- name: "Print planner logs"
163166
if: always()
164167
run: docker compose logs planner
168+
- name: "Chown all files to avoid docker-related root-owned files"
169+
if: always()
170+
run: sudo chown -R $(id -u):$(id -g) .
165171

166172
examples:
167173
if: github.event.pull_request.draft == false

tests/dist/mpi/test_multiple_mpi_worlds.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ TEST_CASE_METHOD(MpiDistTestsFixture,
127127

128128
TEST_CASE_METHOD(MpiDistTestsFixture,
129129
"Test migrating two MPI applications in parallel",
130-
"[.]")
130+
"[mpi]")
131131
{
132132
// Set the slots for the first request: 2 locally and 2 remote
133133
int worldSize = 4;

0 commit comments

Comments
 (0)