forked from cBioPortal/cbioportal
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 925 Bytes
/
validate-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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: 'Checkout core module'
uses: actions/checkout@v4
with:
path: ./cbioportal/core
repository: cBioPortal/cbioportal-core
- 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/resources/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'