Skip to content

Commit 6934daf

Browse files
authored
Merge pull request #63 from uc-cdis/feat/metrics
]chore(cleanup): make deps less strict, relock, add GH actions
2 parents cdf1330 + 5cb5516 commit 6934daf

File tree

7 files changed

+497
-383
lines changed

7 files changed

+497
-383
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

.github/workflows/pypi.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 }}

.travis.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)