Skip to content

Fix/iql query fallback #377

Fix/iql query fallback

Fix/iql query fallback #377

Workflow file for this run

name: Test
on:
pull_request:
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: bash .ci/runChecks.sh
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build:ci --workspaces --if-present
- name: Start MongoDB
uses: supercharge/[email protected]
- run: npm run test:ci --workspaces --if-present
env:
DATABASE_CONNECTION_STRING: mongodb://127.0.0.1:27017
NMSHD_TEST_BASEURL: ${{ secrets.CNS_NMSHD_TEST_BASEURL }}
NMSHD_TEST_CLIENTID: ${{ secrets.CNS_NMSHD_TEST_CLIENTID }}
NMSHD_TEST_CLIENTSECRET: ${{ secrets.CNS_NMSHD_TEST_CLIENTSECRET }}
test-ferret:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build:ci --workspaces --if-present
- uses: js-soft/[email protected]
with:
ferretdb-telemetry: "enabled"
- run: npm run test:ci
env:
DATABASE_CONNECTION_STRING: mongodb://127.0.0.1:27017
NMSHD_TEST_BASEURL: ${{ secrets.CNS_NMSHD_TEST_BASEURL }}
NMSHD_TEST_CLIENTID: ${{ secrets.CNS_NMSHD_TEST_CLIENTID }}
NMSHD_TEST_CLIENTSECRET: ${{ secrets.CNS_NMSHD_TEST_CLIENTSECRET }}
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the productive docker image
run: bash .ci/testBuildingProductiveDockerImage.sh
lint-helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: helm lint ./helmChart