Skip to content

Commit

Permalink
Try to run seqr
Browse files Browse the repository at this point in the history
  • Loading branch information
bpblanken committed Nov 14, 2023
1 parent 4f41ba8 commit 9fe6211
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ jobs:
strategy:
matrix:
python-version: ['3.10']
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: "super-secure-password"
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -34,3 +51,8 @@ jobs:
uses: helm/[email protected]
- name: Run Chart Templating Unit Tests
run: python3 -m unittest unit_test/**/*.py
- name: Test Seqr Chart Installation
run: |
kubectl create secret generic postgres-secrets --from-literal=password='super-secure-password'
kubectl create secret generic seqr-secrets --from-literal=django_key='securely-generated-key'
ct install --charts charts/seqr --namespace default

0 comments on commit 9fe6211

Please sign in to comment.