Remove object loading by id and key #2252
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: bash .ci/runChecks.sh | |
test-app-runtime: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run test:ci --workspace=@nmshd/app-runtime | |
env: | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-consumption-mongodb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@v1 | |
- run: npm run build:node | |
- run: npm run test:ci:mongodb --workspace=@nmshd/consumption | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-consumption-ferret: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- uses: js-soft/[email protected] | |
with: | |
ferretdb-telemetry: "enabled" | |
ferretdb-version: "1.20.1" | |
- run: npm run build:node | |
- run: npm run test:ci:mongodb --workspace=@nmshd/consumption | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-consumption-loki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run test:ci:lokijs --workspace=@nmshd/consumption | |
env: | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-content: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run test:ci --workspace=@nmshd/content | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-core-types: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run test:ci --workspace=@nmshd/core-types | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-runtime-mongodb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- uses: supercharge/mongodb-github-action@v1 | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run build:schemas --workspace=@nmshd/runtime | |
- run: npm run test:ci:mongodb --workspace=@nmshd/runtime | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-runtime-ferret: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- uses: js-soft/[email protected] | |
with: | |
ferretdb-telemetry: "enabled" | |
ferretdb-version: "1.20.1" | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run build:schemas --workspace=@nmshd/runtime | |
- run: npm run test:ci:mongodb --workspace=@nmshd/runtime | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-runtime-loki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run build:schemas --workspace=@nmshd/runtime | |
- run: npm run test:ci:lokijs --workspace=@nmshd/runtime | |
env: | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-transport-mongodb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@v1 | |
- run: npm run test:ci:mongodb --workspace=@nmshd/transport | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-transport-ferret: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- uses: js-soft/[email protected] | |
with: | |
ferretdb-telemetry: "enabled" | |
ferretdb-version: "1.20.1" | |
- run: npm run test:ci:mongodb --workspace=@nmshd/transport | |
env: | |
CONNECTION_STRING: mongodb://127.0.0.1:27017 | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
test-transport-loki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start Backbone | |
run: npm run start:backbone | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: current | |
- run: npm ci | |
- run: npm run build:node | |
- run: npm run test:ci:lokijs --workspace=@nmshd/transport | |
env: | |
NMSHD_TEST_BASEURL: http://localhost:8090 | |
NMSHD_TEST_BASEURL_ADMIN_API: http://localhost:8091 | |
NMSHD_TEST_CLIENTID: test | |
NMSHD_TEST_CLIENTSECRET: test | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
env: | |
fail_ci_if_error: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |