Skip to content

Commit

Permalink
feat: test ci MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
sukidayou committed Dec 26, 2024
1 parent a65716e commit 1355290
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/maven-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo
ports:
- 27017:27017
options: --health-cmd="mongo --eval 'db.adminCommand(\"ping\")'" --health-interval=20s --health-timeout=5s --health-retries=5 --health-start-period=30s

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.2

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand Down

0 comments on commit 1355290

Please sign in to comment.