-
Notifications
You must be signed in to change notification settings - Fork 5
68 lines (62 loc) · 1.81 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Test
on:
pull_request:
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: bash .ci/runChecks.sh
test:
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: 20
- run: npm ci
- run: npm run build:ci --workspaces --if-present
- name: Start MongoDB
uses: supercharge/mongodb-github-action@v1
- run: npm run test:ci --workspaces --if-present
env:
DATABASE_CONNECTION_STRING: mongodb://127.0.0.1:27017
NMSHD_TEST_BASEURL: http://localhost:8090
NMSHD_TEST_CLIENTID: test
NMSHD_TEST_CLIENTSECRET: test
test-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: 20
- 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: http://localhost:8090
NMSHD_TEST_CLIENTID: test
NMSHD_TEST_CLIENTSECRET: test
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the productive docker image
run: bash .ci/testBuildingProductiveDockerImage.sh
lint-helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: helm lint ./helmChart