Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/githubactions #304

Open
wants to merge 75 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
f169c67
Merge pull request #294 from mskcc/develop
nikhil Jan 20, 2023
3edc291
Merge pull request #300 from mskcc/develop
nikhil Apr 17, 2023
191537c
Create github-actions-demo.yml
D-Pankey Apr 28, 2023
170d5ac
Rename github-actions-demo.yml to github-actions.yml
D-Pankey Apr 28, 2023
3620887
Update github-actions.yml
D-Pankey Apr 28, 2023
9a325db
Update github-actions.yml
D-Pankey Apr 28, 2023
6ec2da1
Update github-actions.yml
D-Pankey Apr 28, 2023
816de68
Update github-actions.yml
D-Pankey Apr 28, 2023
c816879
Update github-actions.yml
D-Pankey Apr 28, 2023
0ba3c2f
Update github-actions.yml
D-Pankey May 1, 2023
0f0cb94
Update github-actions.yml
D-Pankey May 1, 2023
0503f62
Update github-actions.yml
D-Pankey May 1, 2023
4bffe39
Update github-actions.yml
D-Pankey May 1, 2023
fa05a5d
Update github-actions.yml
D-Pankey May 1, 2023
b6d2bcf
Update github-actions.yml
D-Pankey May 1, 2023
532cf2c
Update github-actions.yml
D-Pankey May 1, 2023
2f19602
Update github-actions.yml
D-Pankey May 1, 2023
24383ac
Update github-actions.yml
D-Pankey May 1, 2023
df4b5af
Update github-actions.yml
D-Pankey May 1, 2023
e90ed36
Update github-actions.yml
D-Pankey May 1, 2023
63c172b
Update github-actions.yml
D-Pankey May 1, 2023
22fcef1
Update github-actions.yml
D-Pankey May 1, 2023
3bb1f71
Update github-actions.yml
D-Pankey May 1, 2023
04a52b9
Update github-actions.yml
D-Pankey May 1, 2023
ef8b422
Update github-actions.yml
D-Pankey May 1, 2023
5585fa2
Update github-actions.yml
D-Pankey May 1, 2023
adb5946
Update github-actions.yml
D-Pankey May 1, 2023
e9a3b36
Update github-actions.yml
D-Pankey May 1, 2023
59ef760
Update github-actions.yml
D-Pankey May 1, 2023
17dcbec
Update github-actions.yml
D-Pankey May 1, 2023
c399e2f
Update github-actions.yml
D-Pankey May 1, 2023
2694b6d
Update github-actions.yml
D-Pankey May 1, 2023
a9654dc
Update github-actions.yml
D-Pankey May 1, 2023
f95c08c
Update github-actions.yml
D-Pankey May 1, 2023
86e1f62
Update github-actions.yml
D-Pankey May 1, 2023
87911fc
Update github-actions.yml
D-Pankey May 1, 2023
7c1b0df
Update github-actions.yml
D-Pankey May 1, 2023
3b36e4d
Update github-actions.yml
D-Pankey May 2, 2023
60d9e56
Update github-actions.yml
D-Pankey May 2, 2023
a325dbc
Update github-actions.yml
D-Pankey May 2, 2023
561920d
Update github-actions.yml
D-Pankey May 2, 2023
503bf3f
Update github-actions.yml
D-Pankey May 2, 2023
f1123df
Update github-actions.yml
D-Pankey May 2, 2023
c57e213
Update github-actions.yml
D-Pankey May 3, 2023
ed84457
Update github-actions.yml
D-Pankey May 3, 2023
c4667e9
Update travis_env.sh
D-Pankey May 3, 2023
259b6cf
Update github-actions.yml
D-Pankey May 3, 2023
e2dca63
Update github-actions.yml
D-Pankey May 3, 2023
b8ecb4d
Update github-actions.yml
D-Pankey May 3, 2023
f6d82ff
Update github-actions.yml
D-Pankey May 3, 2023
17c5873
Update github-actions.yml
D-Pankey May 3, 2023
3c0ba40
Update github-actions.yml
D-Pankey May 3, 2023
63622ff
Update github-actions.yml
D-Pankey May 3, 2023
5f77c90
Update github-actions.yml
D-Pankey May 3, 2023
9e0be35
Update github-actions.yml
D-Pankey May 3, 2023
f5150a4
Update github-actions.yml
D-Pankey May 3, 2023
4e1bccf
Update github-actions.yml
D-Pankey May 3, 2023
ed71f57
Update github-actions.yml
D-Pankey May 3, 2023
f4ca0cb
Update github-actions.yml
D-Pankey May 3, 2023
2c81da4
Update github-actions.yml
D-Pankey May 3, 2023
073f8c9
Update github-actions.yml
D-Pankey May 3, 2023
00e3e41
Update github-actions.yml
D-Pankey May 3, 2023
fdb9af8
Update github-actions.yml
D-Pankey May 3, 2023
cb95e9e
Update github-actions.yml
D-Pankey May 3, 2023
bd777e1
Update github-actions.yml
D-Pankey May 3, 2023
44cd245
Update github-actions.yml
D-Pankey May 3, 2023
474106a
Update github-actions.yml
D-Pankey May 3, 2023
8d0a542
Update github-actions.yml
D-Pankey May 4, 2023
e277b10
Update github-actions.yml
D-Pankey May 4, 2023
ff74b39
Update github-actions.yml
D-Pankey May 4, 2023
fe2c2f3
Update github-actions.yml
D-Pankey May 4, 2023
cc84cc2
added flake8
D-Pankey May 4, 2023
8b77b8d
coverage and flake 8
D-Pankey May 4, 2023
63880df
coverage
D-Pankey May 4, 2023
36cf056
Update github-actions.yml
D-Pankey Feb 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
on:
push:
branches: [ "release/1.30.0" ]

jobs:
build:

runs-on: ubuntu-latest

services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: github_actions
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5


steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install pip==19.3.1
pip install --force-reinstall 'setuptools<58.0.0'
pip install -r requirements.txt
pip install -r requirements-toil.txt
#python manage.py migrate
- name: Run migrations
run: python manage.py migrate
- name: Run test
#run: python manage.py test
run: |
coverage run --source='.' manage.py test
coverage report -m --fail-under=75
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'build' # NOTE: this needs to be the same as the job name
env:
RIDGEBACK_DB_NAME: github_actions
RIDGEBACK_DB_PASSWORD: postgres
RIDGEBACK_DB_USERNAME: postgres
RIDGEBACK_TOIL_JOB_STORE_ROOT: /sample_path
RIDGEBACK_TOIL_WORK_DIR_ROOT: /sample_path
RIDGEBACK_TOIL_TMP_DIR_ROOT: /sample_path
RIDGEBACK_LSF_WALLTIME: 10:00
RIDGEBACK_LSF_SLA: SLA
CELERY_LOG_PATH: /sample_path
CELERY_PID_PATH: /sample_path
CELERY_BEAT_SCHEDULE_PATH: /sample_path
RIDGEBACK_NEXTFLOW_JOB_STORE_ROOT: /sample_path
RIDGEBACK_NEXTFLOW_WORK_DIR_ROOT: /sample_path
RIDGEBACK_NEXTFLOW_TMP_DIR_ROOT: /sample_path
SINGULARITY_PATH: /sample_singularity
RIDGEBACK_VENV: /sample_path
RIDGEBACK_PATH: /sample_path
RIDGEBACK_PORT: 4009
RIDGEBACK_DEFAULT_QUEUE: sample_queue
RIDGEBACK_RABBITMQ_USERNAME: sample_username
RIDGEBACK_RABBITMQ_PASSWORD: sample_password
8 changes: 4 additions & 4 deletions travis_env.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### Set the database env variable

export RIDGEBACK_DB_NAME=travis_ci_test
export RIDGEBACK_DB_USERNAME=postgres
export RIDGEBACK_DB_PASSWORD=
export RIDGEBACK_DB_PORT=5433
#export RIDGEBACK_DB_NAME=travis_ci_test
#export RIDGEBACK_DB_USERNAME=postgres
#export RIDGEBACK_DB_PASSWORD=
#export RIDGEBACK_DB_PORT=5433

### Set general env variable

Expand Down