From afe1a22a9ce21fb38b2e8147e1f7728e30324400 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 27 May 2024 14:01:25 +0200 Subject: [PATCH 1/5] create a pipeline and run it with docker profile --- .github/workflows/create-test-wf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-test-wf.yml b/.github/workflows/create-test-wf.yml index a95a477459..37c4990125 100644 --- a/.github/workflows/create-test-wf.yml +++ b/.github/workflows/create-test-wf.yml @@ -75,7 +75,7 @@ jobs: pwd # echo content of current directory ls -la - nextflow run nf-core-testpipeline -profile test,self_hosted_runner --outdir ./results + nextflow run nf-core-testpipeline -profile test,docker --outdir ./results - name: Upload log file artifact if: ${{ always() }} From ce80f21404a2044f471e56f9995085a3132f3433 Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Mon, 27 May 2024 12:03:27 +0000 Subject: [PATCH 2/5] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16262bd1c3..264b091ae3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Update output of generation script for API docs to new structure ([#2988](https://github.com/nf-core/tools/pull/2988)) - Add no clobber and put bash options on their own line ([#2991](https://github.com/nf-core/tools/pull/2991)) - update minimal textual version and snapshots ([#2998](https://github.com/nf-core/tools/pull/2998)) +- TEST self-hosted runers: DO NOT MERGE ([#3004](https://github.com/nf-core/tools/pull/3004)) ## [v2.14.1 - Tantalum Toad - Patch](https://github.com/nf-core/tools/releases/tag/2.14.1) - [2024-05-09] From e0637a2f5df2c615fa4dbc27557893c133f7d503 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 27 May 2024 14:05:00 +0200 Subject: [PATCH 3/5] add debugging setup ssh --- .github/workflows/create-test-wf.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-test-wf.yml b/.github/workflows/create-test-wf.yml index 37c4990125..54da786b8d 100644 --- a/.github/workflows/create-test-wf.yml +++ b/.github/workflows/create-test-wf.yml @@ -77,6 +77,9 @@ jobs: ls -la nextflow run nf-core-testpipeline -profile test,docker --outdir ./results + - name: Setup ssh session + uses: Warpbuilds/action-debugger@v1.3 + - name: Upload log file artifact if: ${{ always() }} uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 From 0da5ca319a2df2d08632b7d45b88cb8c9770fc7d Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 27 May 2024 14:11:42 +0200 Subject: [PATCH 4/5] also use nf-test-tests branch for nf-test testes --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 9a0fd0896f..435d407615 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -25,7 +25,7 @@ GITLAB_BRANCH_ORG_PATH_BRANCH = "org-path" GITLAB_BRANCH_TEST_OLD_SHA = "e772abc22c1ff26afdf377845c323172fb3c19ca" GITLAB_BRANCH_TEST_NEW_SHA = "7d73e21f30041297ea44367f2b4fd4e045c0b991" -GITLAB_NFTEST_BRANCH = "nf-test-tests-self-hosted-runners" +GITLAB_NFTEST_BRANCH = "nf-test-tests" def with_temporary_folder(func: Callable[..., Any]) -> Callable[..., Any]: From f9caaea03c09b67ce6b95fcdfc72a90ce4c1ee8d Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 27 May 2024 15:06:43 +0200 Subject: [PATCH 5/5] setup runner session for pytests --- .github/workflows/pytest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 4e873385e8..b0a88c6999 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -130,6 +130,9 @@ jobs: run: | mv .github/.coveragerc . + - name: Setup ssh session + uses: Warpbuilds/action-debugger@v1.3 + - name: Test with pytest run: | python3 -m pytest tests/${{matrix.test}} --color=yes --cov --durations=0 && exit_code=0|| exit_code=$?