Skip to content

Commit 7c328ea

Browse files
committed
Try scope fix.
1 parent bccb909 commit 7c328ea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/code_test_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ jobs:
9191
FPR="$(gpg --list-secret-keys --with-colons | awk -F: '/^fpr:/ {print $10; exit}')"
9292
pass init "$FPR"
9393
94-
- name: Test all except central connections
95-
run: |
96-
pytest --ignore=tests/tests_transfers/ssh --ignore=tests/tests_transfers/gdrive --ignore=tests/tests_transfers/aws
97-
9894
# run SSH tests only on Linux because Windows and macOS
9995
# are already run within a virtual container and so cannot
10096
# run Linux containers because nested containerisation is disabled.
@@ -113,6 +109,10 @@ jobs:
113109
run: |
114110
pytest tests/tests_transfers/gdrive
115111
112+
- name: Test all except central connections
113+
run: |
114+
pytest --ignore=tests/tests_transfers/ssh --ignore=tests/tests_transfers/gdrive --ignore=tests/tests_transfers/aws
115+
116116
- name: Test AWS
117117
env:
118118
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

tests/tests_transfers/ssh/test_ssh_suggest_next.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
)
2121
class TestSSHDriveSuggestNext(BaseSSHTransfer, TuiBase):
2222
@pytest.fixture(
23-
scope="function",
23+
scope="class",
2424
)
2525
def ssh_setup(self, setup_project_paths, setup_ssh_container_fixture):
2626
"""

0 commit comments

Comments
 (0)