From 2b6564b54450ca3d784faf5e457306e0e9f46906 Mon Sep 17 00:00:00 2001 From: Thad Guidry Date: Mon, 4 Nov 2024 22:28:50 +0800 Subject: [PATCH] add Pull Request workflow --- .github/workflows/pull-request-e2e.yml | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/pull-request-e2e.yml diff --git a/.github/workflows/pull-request-e2e.yml b/.github/workflows/pull-request-e2e.yml new file mode 100644 index 00000000..93cdf9f1 --- /dev/null +++ b/.github/workflows/pull-request-e2e.yml @@ -0,0 +1,37 @@ +name: Pull Request E2E Test + +on: + workflow_dispatch: + + pull_request: + paths-ignore: + - + branches: + - master + +permissions: read-all + +jobs: + e2e_test: + name: e2e_test + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Java 21 + uses: actions/setup-java@v4 + with: + distribution: 'liberica' + java-version: 21 + cache: 'maven' + + # - name: Start test containers for DB's + # run: docker-compose up -d + + - name: Compile & Test with DB Containers + run: mvn -B test --file pom.xml + + # - name: Stop test containers for DB's + # run: docker-compose down