Skip to content

Commit d7386fa

Browse files
committed
Reuse test script wrapper in python gh action
1 parent 89a0ee8 commit d7386fa

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/validate-python.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ jobs:
1414
- name: 'Validate tests'
1515
working-directory: ./cbioportal-core
1616
run: |
17-
docker run -v ${PWD}:/cbioportal-core python:3.6 /bin/sh -c '
17+
docker run -v ${PWD}:/cbioportal-core python:3.6 /bin/bash -c '
1818
cd cbioportal-core &&
1919
pip install -r requirements.txt &&
20-
export PYTHONPATH=/cbioportal-core/scripts &&
21-
cd tests/ &&
22-
python unit_tests_validate_data.py &&
23-
python system_tests_validate_data.py &&
24-
python system_tests_validate_studies.py'
20+
source test_scripts.sh'

0 commit comments

Comments
 (0)