Skip to content

Commit

Permalink
refactor: ci test exec for sftp server
Browse files Browse the repository at this point in the history
  • Loading branch information
donotpush committed Sep 3, 2024
1 parent c7b5072 commit 2b51113
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 86 deletions.
83 changes: 0 additions & 83 deletions .github/workflows/test_destination_filesystem_sftp.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/test_local_destinations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:

- name: Start weaviate
run: docker compose -f ".github/weaviate-compose.yml" up -d

- name: Start SFTP server
run: docker compose -f "tests/load/filesystem_sftp/docker-compose.yml" up -d

- name: Setup Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -110,3 +113,7 @@ jobs:
- name: Stop weaviate
if: always()
run: docker compose -f ".github/weaviate-compose.yml" down -v

- name: Stop SFTP server
if: always()
run: docker compose -f "tests/load/filesystem_sftp/docker-compose.yml" down -v
2 changes: 1 addition & 1 deletion tests/load/filesystem_sftp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from tests.utils import skip_if_not_active

skip_if_not_active("filesystem-sftp")
skip_if_not_active("filesystem")
2 changes: 0 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"postgres",
"snowflake",
"filesystem",
"filesystem-sftp",
"weaviate",
"dummy",
"motherduck",
Expand All @@ -55,7 +54,6 @@
}
NON_SQL_DESTINATIONS = {
"filesystem",
"filesystem-sftp",
"weaviate",
"dummy",
"qdrant",
Expand Down

0 comments on commit 2b51113

Please sign in to comment.