File tree Expand file tree Collapse file tree 6 files changed +41
-47
lines changed
hubmap_translation/addl_index_transformations/portal Expand file tree Collapse file tree 6 files changed +41
-47
lines changed Original file line number Diff line number Diff line change 1+ name : CI Build
2+
3+ on :
4+ push :
5+ branches : [ "main", "dev-integrate" ]
6+ pull_request :
7+ branches : [ "main", "dev-integrate" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+ with :
20+ submodules : ' recursive'
21+
22+ - name : Set up Python 3.9
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : " 3.9"
26+
27+ - name : Upgrade Pip
28+ run : python -m pip install --upgrade pip
29+ working-directory : src
30+
31+ - name : Install Dependencies
32+ run : |
33+ pip install -r requirements.txt
34+ pip install -r requirements-dev.txt
35+ working-directory : src
36+
37+ - name : Run tests
38+ run : ./test.sh
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -o errexit
33
4- . test-utils.sh
54
65cd ` dirname $0 `
76
8- start portal/flake8
9- flake8 \
10- || die " Try: autopep8 --in-place --aggressive -r $PWD "
11- end portal/flake8
12-
13- start portal/doctests
7+ flake8
148cd ../../../
159for F in hubmap_translation/addl_index_transformations/portal/* .py; do
1610 CMD=" python -m doctest -o REPORT_NDIFF $F "
1711 echo $CMD
1812 eval $CMD
1913done
2014cd -
21- end portal/doctests
22-
23- start portal/pytest
2415cd ../../../
2516PYTHONPATH=" src:$PYTHONPATH " pytest -vv --log-cli-level WARN
2617cd -
27- end portal/pytest
Original file line number Diff line number Diff line change 1- flake8 == 3.8.2
2- pytest == 6.2 .2
1+ flake8 == 7.3.0
2+ pytest == 8.4 .2
33pytest-mock >= 1.11.1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments