Skip to content

Commit

Permalink
add Pull Request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thadguidry committed Nov 4, 2024
1 parent 1e4b1b4 commit 2b6564b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pull-request-e2e.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b6564b

Please sign in to comment.