From 88e3eb832de997c881ad2bd700d208d2bbf88a60 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Tue, 22 Oct 2024 23:43:03 +0200 Subject: [PATCH] Update remote autodetection --- .github/workflows/test-flux.yaml | 4 ++-- .github/workflows/test-schedulers.yaml | 2 +- reframe/frontend/autodetect.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-flux.yaml b/.github/workflows/test-flux.yaml index 13520b4119..8a5f3ff299 100644 --- a/.github/workflows/test-flux.yaml +++ b/.github/workflows/test-flux.yaml @@ -28,8 +28,8 @@ jobs: - name: Install Reframe run: | - apt-get update && apt-get install -y python3-pip curl - /bin/bash ./bootstrap.sh + apt-get update && apt-get install -y python3-pip + ./bootstrap.sh export PATH=$PWD/bin:$PATH which reframe diff --git a/.github/workflows/test-schedulers.yaml b/.github/workflows/test-schedulers.yaml index 83285e0988..1f81709e2b 100644 --- a/.github/workflows/test-schedulers.yaml +++ b/.github/workflows/test-schedulers.yaml @@ -19,6 +19,6 @@ jobs: - name: Build Images run: | docker compose -f .github/pseudo-cluster/docker-compose.yml build - - name: Run Unittests with ${{ matrix.scheduler }} sceduler + - name: Run Unittests with ${{ matrix.scheduler }} scheduler run: | BACKEND=${{ matrix.scheduler }} docker compose -f .github/pseudo-cluster/docker-compose.yml up --abort-on-container-exit --exit-code-from frontend diff --git a/reframe/frontend/autodetect.py b/reframe/frontend/autodetect.py index d3762f3aeb..16b8a1f128 100644 --- a/reframe/frontend/autodetect.py +++ b/reframe/frontend/autodetect.py @@ -47,7 +47,8 @@ def __enter__(self): self._workdir = os.path.abspath( tempfile.mkdtemp(prefix='rfm.', dir=self._prefix) ) - paths = ['bin/', 'reframe/', 'bootstrap.sh', 'requirements.txt'] + paths = ['bin/', 'reframe/', 'tools/', + 'bootstrap.sh', 'requirements.txt'] use_pip = False try: for p in paths: