Merge pull request #10292 from cBioPortal/dippindots-patch-1 #2698
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python validator | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Validate Data | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout cbioportal repo' | |
uses: actions/checkout@v2 | |
with: | |
path: ./cbioportal | |
- name: 'Validate tests' | |
working-directory: ./cbioportal | |
run: | | |
docker run -v ${PWD}:/cbioportal python:3.6 /bin/sh -c ' | |
cd /cbioportal && | |
pip install -r requirements.txt && | |
export PYTHONPATH=/cbioportal/core/src/main/scripts && | |
cd /cbioportal/core/src/test/scripts/ && | |
python unit_tests_validate_data.py && | |
python system_tests_validate_data.py && | |
python system_tests_validate_studies.py' |