Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Enable tests with MongoDB.
Browse files Browse the repository at this point in the history
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
  • Loading branch information
monaka committed May 16, 2021
1 parent 1d0d897 commit e333bda
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,25 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
jdk-version: [11]
mongodb-version: [3.6]

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.4.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-port: 53579

- name: Set up JDK ${{ matrix.jdk-version }}
uses: actions/setup-java@v1
with:
java-version: 11
java-version: ${{ matrix.jdk-version }}

- name: Build with Maven
run: mvn -B package --file pom.xml -Dmaven.test.skip=true
run: mvn -B package --file pom.xml

0 comments on commit e333bda

Please sign in to comment.