File tree 2 files changed +35
-2
lines changed
2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 63
63
TEST_PORT : ${{ secrets.TEST_PORT }}
64
64
OUTPUT_LOCATION : ${{ github.workspace }}/tests/
65
65
66
+ test_wrapper :
67
+ runs-on : ubuntu-latest
68
+ needs : test_download
69
+ if : github.repository_owner == 'BU-ISCIII'
70
+ strategy :
71
+ max-parallel : 1
72
+ matrix :
73
+ download_options : ["download_only", "download_clean"]
74
+
75
+ steps :
76
+ - name : Set up Python 3.9.16
77
+ uses : actions/setup-python@v3
78
+ with :
79
+ python-version : ' 3.9.16'
80
+
81
+ - name : Checkout code
82
+ uses : actions/checkout@v3
83
+ with :
84
+ ref : ${{ github.event.pull_request.head.sha }}
85
+ fetch-depth : 0
86
+
87
+ - name : Install package and dependencies
88
+ run : |
89
+ pip install -r requirements.txt
90
+ pip install .
91
+
92
+ - name : Run Wrapper tests
93
+ run : |
94
+ python3 tests/test_wrapper_handle.py --download_option ${{ matrix.download_options }}
95
+ env :
96
+ TEST_USER : ${{ secrets.TEST_USER }}
97
+ TEST_PASSWORD : ${{ secrets.TEST_PASSWORD }}
98
+ TEST_PORT : ${{ secrets.TEST_PORT }}
99
+ OUTPUT_LOCATION : ${{ github.workspace }}/tests/
Original file line number Diff line number Diff line change @@ -126,8 +126,7 @@ def prepare_remote_test(**kwargs):
126
126
"target_folders" : kwargs ["target_folders" ],
127
127
}
128
128
129
- download_manager .relecov_sftp .sftp_port = os .environ ["TEST_PORT" ]
130
-
129
+ wrapper_manager .download_manager .relecov_sftp .sftp_port = os .environ ["TEST_PORT" ]
131
130
def test_wrapper (wrapper_manager ):
132
131
wrapper_manager .run_wrapper ()
133
132
You can’t perform that action at this time.
0 commit comments