From dd477ab82f7a162e1515bc0f43a72af7147d3618 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Wed, 20 Nov 2024 22:50:15 -0600 Subject: [PATCH 1/3] build: Setup VS Code tests --- .vscode/settings.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..c4d5be0e3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "python.testing.pytestEnabled": true, + "python.testing.unittestEnabled": false, + "python.testing.nosetestsEnabled": false, + "python.testing.pytestArgs": ["tests", "-v", "--tb=short"], + "python.testing.autoTestDiscoverOnSaveEnabled": true +} From 3456346eea3f6104cf0de7e38ccc8543a44d3c3f Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Thu, 21 Nov 2024 17:29:49 +0000 Subject: [PATCH 2/3] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a1643505..d4a96ca74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ - Update pre-commit hook astral-sh/ruff-pre-commit to v0.7.4 ([#3282](https://github.com/nf-core/tools/pull/3282)) - Update codecov/codecov-action action to v5 ([#3283](https://github.com/nf-core/tools/pull/3283)) - Update python:3.12-slim Docker digest to 2a6386a ([#3284](https://github.com/nf-core/tools/pull/3284)) +- build: Setup VS Code tests ([#3292](https://github.com/nf-core/tools/pull/3292)) ## [v3.0.2 - Titanium Tapir Patch](https://github.com/nf-core/tools/releases/tag/3.0.2) - [2024-10-11] From 35eb958d39fe52b938e535c100afcb6bb19d1549 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 26 Nov 2024 02:17:48 +0000 Subject: [PATCH 3/3] Add Python terminal env settings --- .vscode/settings.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c4d5be0e3..5ffdff086 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,7 @@ "python.testing.unittestEnabled": false, "python.testing.nosetestsEnabled": false, "python.testing.pytestArgs": ["tests", "-v", "--tb=short"], - "python.testing.autoTestDiscoverOnSaveEnabled": true + "python.testing.autoTestDiscoverOnSaveEnabled": true, + "python.terminal.activateEnvInCurrentTerminal": true, + "python.terminal.shellIntegration.enabled": true }