File tree Expand file tree Collapse file tree 7 files changed +497
-383
lines changed
Expand file tree Collapse file tree 7 files changed +497
-383
lines changed Original file line number Diff line number Diff line change 1+ # push will run on every pushed commit to any branch (so this will rerun the tests
2+ # once a branch gets merged to main in addition to any new commits on any branch)
3+ on : push
4+
5+ name : CI
6+
7+ concurrency :
8+ group : ' ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
9+ cancel-in-progress : true
10+
11+ jobs :
12+ Security :
13+ name : Security Pipeline
14+ uses : uc-cdis/.github/.github/workflows/securitypipeline.yaml@master
15+ with :
16+ python-poetry : ' true'
17+ secrets : inherit
18+
19+ UnitTest :
20+ name : Python Unit Test with Postgres
21+ uses : uc-cdis/.github/.github/workflows/python_unit_test.yaml@master
22+ with :
23+ test-script : ' test/ci_commands_script.sh'
24+ python-version : ' 3.9'
25+ use-cache : true
Original file line number Diff line number Diff line change 1+ name : PyPI
2+ on :
3+ push :
4+ tags :
5+ - ' *'
6+ jobs :
7+ PyPIPoetryPublish :
8+ name : PyPI Poetry Publish
9+ uses : uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@master
10+ with :
11+ PYTHON_VERSION : ' 3.9'
12+ # This will attempt push to test PyPI first and only push to prod if it works
13+ DO_TEST_PUBLISH_FIRST : true
14+ secrets :
15+ PYPI_TEST_API_TOKEN : ${{ secrets.PYPI_TEST_API_TOKEN }}
16+ PYPI_PROD_API_TOKEN : ${{ secrets.PYPI_PROD_API_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments