Skip to content

Commit

Permalink
Merge pull request #249 from alwinsimon/v1
Browse files Browse the repository at this point in the history
V1
  • Loading branch information
alwinsimon authored Oct 28, 2023
2 parents da4fc7b + 52461a4 commit ec981d3
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/CI - Tests - Auth Service.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# ========================================= Main Branch ::: CI - Tests - Auth Service =========================================
# ========================================= CI - Tests - Auth Service =========================================

name: CI - Tests - Auth Service

on: pull_request
on:
pull_request:
paths:
- "auth/**"

jobs:
Production-Branch-Pre-Integration-Tests:
Auth-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Orders Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Orders Service =========================================

name: CI - Tests - Orders Service

on:
pull_request:
paths:
- "orders/**"

jobs:
Orders-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd orders && npm install && npm run test:ci
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Payments Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Payments Service =========================================

name: CI - Tests - Payments Service

on:
pull_request:
paths:
- "payments/**"

jobs:
Payments-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd payments && npm install && npm run test:ci
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Tickets Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Tickets Service =========================================

name: CI - Tests - Tickets Service

on:
pull_request:
paths:
- "tickets/**"

jobs:
Tickets-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd tickets && npm install && npm run test:ci
3 changes: 2 additions & 1 deletion auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion orders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion payments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion tickets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down

0 comments on commit ec981d3

Please sign in to comment.