Skip to content

Commit 2b2b4cc

Browse files
authored
[bug-app] added tests for bug server (#272)
1 parent 34ef6e4 commit 2b2b4cc

16 files changed

Lines changed: 647 additions & 241 deletions
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: BUG Server Tests
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- "src/server/**"
12+
- "config/**"
13+
- "package.json"
14+
- "package-lock.json"
15+
- ".github/workflows/test-bug-server.yml"
16+
pull_request:
17+
paths:
18+
- "src/server/**"
19+
- "config/**"
20+
- "package.json"
21+
- "package-lock.json"
22+
- ".github/workflows/test-bug-server.yml"
23+
24+
jobs:
25+
server-tests:
26+
name: Server Tests
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: checkout repository
30+
uses: actions/checkout@v6
31+
32+
- name: setup node
33+
uses: actions/setup-node@v6
34+
with:
35+
node-version: 22
36+
37+
- name: run dockerized server tests
38+
run: npm run test:server

.github/workflows/module-container-tests.yml renamed to .github/workflows/test-module-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
paths:
1111
- "src/modules/**"
1212
- "src/server/core/**"
13-
- ".github/workflows/module-container-tests.yml"
13+
- ".github/workflows/test-module-container.yml"
1414

1515
jobs:
1616
discover-modules:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ node_modules
1919
Dockerfile*
2020
!/src/server/Dockerfile
2121
!/src/server/Dockerfile.dev
22+
!/src/server/Dockerfile.test
2223
!/src/server/services/dockerfile-write.js
2324

2425
# global environment files

0 commit comments

Comments
 (0)