diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e52e83a..497845b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,20 @@ on: branches: [ master ] jobs: + integration-tests: + runs-on: ubuntu-latest + steps: + - name: Check out the repository to the runner + uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: 'maven' + - name: Run the Maven integration tests + run: mvn clean test + - run: echo "This job's status is ${{ job.status }}." build: needs: [integration-tests] runs-on: ubuntu-latest diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 861a3f0..22e3826 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,8 +1,6 @@ name: Continuous Integration on: - push: - branches: [ master ] pull_request: branches: [ master ]