Skip to content

chore(release): cut 2.33.0 [skip release] #2004

chore(release): cut 2.33.0 [skip release]

chore(release): cut 2.33.0 [skip release] #2004

Workflow file for this run

name: 'dhis2-docker test'
on: push
jobs:
test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
container:
image: node:14-buster
services:
postgres:
image: dhis2/postgres-contrib
env:
POSTGRES_USER: apphub
POSTGRES_PASSWORD: apphub
POSTGRES_DB: apphub
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Install deps for tests
run: yarn install --frozen-lockfile
- name: Build frontend/client
run: yarn build
- name: Run client tests
run: yarn test:client
- name: Run server tests
run: yarn test:server
env:
RDS_HOSTNAME: postgres
RDS_USERNAME: apphub
RDS_PASSWORD: apphub
RDS_DB_NAME: apphub
RDS_DB_PORT: 5432
AUTH_STRATEGY: jwt
AUTH0_AUDIENCE: apps.dhis2.org/api'
AUTH0_DOMAIN: dhis2.eu.auth0.com/
AUTH0_ISSUER: https://dhis2.eu.auth0.com/
AUTH0_ALG: RS256
AUTH0_JWKS_URI: https://dhis2.eu.auth0.com/.well-known/jwks.json
AUTH0_MANAGEMENT_AUDIENCE: https://dhis2.eu.auth0.com/api/v2/
AUTH0_MANAGEMENT_SECRET: ${{ secrets.AUTH0_MANAGEMENT_SECRET }}
AUTH0_MANAGEMENT_CLIENT_ID: K4fVnj443Sqid3Xl9yBVTYw9BEjPx3gl