From a441216aa72ab7762c99d388a3ae84762fd8cc15 Mon Sep 17 00:00:00 2001 From: Ajay Negi Date: Sun, 1 Sep 2024 23:49:39 +0530 Subject: [PATCH] Spring Boot CI Pipeline --- .github/workflows/spring-boot-ci.yml | 3 +++ .../java/com/libraryman_api/LibrarymanApiApplicationTests.java | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/spring-boot-ci.yml b/.github/workflows/spring-boot-ci.yml index d0fae19..765ba73 100644 --- a/.github/workflows/spring-boot-ci.yml +++ b/.github/workflows/spring-boot-ci.yml @@ -5,6 +5,8 @@ on: branches: - 'main' pull_request: + branches: + - '**' jobs: build-and-test: @@ -31,6 +33,7 @@ jobs: DATABASE_USERNAME: ${{ secrets.DATABASE_USERNAME }} DATABASE_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} DATABASE_DRIVER_CLASS_NAME: ${{ secrets.DATABASE_DRIVER_CLASS_NAME }} + MAIL_SERVICE_HOST: ${{ secrets.MAIL_SERVICE_HOST }} MAIL_SERVICE_PORT: ${{ secrets.MAIL_SERVICE_PORT }} MAIL_SERVICE_USERNAME: ${{ secrets.MAIL_SERVICE_USERNAME }} diff --git a/src/test/java/com/libraryman_api/LibrarymanApiApplicationTests.java b/src/test/java/com/libraryman_api/LibrarymanApiApplicationTests.java index 3c4ad0d..fb0d877 100644 --- a/src/test/java/com/libraryman_api/LibrarymanApiApplicationTests.java +++ b/src/test/java/com/libraryman_api/LibrarymanApiApplicationTests.java @@ -8,6 +8,7 @@ class LibrarymanApiApplicationTests { @Test void contextLoads() { + } }