Create ci for subprojects

This commit is contained in:
2024-02-28 13:59:22 +01:00
parent 3a2dd1972a
commit 59b3b31b44
5 changed files with 58 additions and 7 deletions

21
.github/workflows/auth-service-ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Authentication service Continuous Integration
on:
push:
paths:
- "auth-service/**"
jobs:
lint:
uses: ./.github/workflows/CI/go_lint.yml
with:
working-directory: 'auth-service'
build:
needs: lint
uses: ./.github/workflows/CI/go_build.yml
with:
working-directory: 'auth-service'
test:
needs: build
uses: ./.github/workflows/CI/go_test.yml
with:
working-directory: 'auth-service'

21
.github/workflows/backend-ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Backend Continuous Integration
on:
push:
paths:
- "backend/**"
jobs:
lint:
uses: ./.github/workflows/CI/go_lint.yml
with:
working-directory: 'backend'
build:
needs: lint
uses: ./.github/workflows/CI/go_build.yml
with:
working-directory: 'backend'
test:
needs: build
uses: ./.github/workflows/CI/go_test.yml
with:
working-directory: 'backend'

View File

@@ -1,5 +0,0 @@
name: Continuous Deployment
on:
push:
branches:
- master

View File

@@ -1,2 +0,0 @@
name: Continuous Integration
on: push

16
.github/workflows/frontend-ci.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Frontend Continuous Integration
on:
push:
paths:
- "frontend/**"
jobs:
lint:
uses: ./.github/workflows/CI/go_lint.yml
with:
working-directory: 'backend'
build:
needs: lint
uses: ./.github/workflows/CI/go_build.yml
with:
working-directory: 'backend'