Skip to content

Commit

Permalink
Added db dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
moonraker595 committed Sep 5, 2024
1 parent f5133dc commit 0b11431
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
with:
distribution: 'temurin'
java-version: '22'

- name: Set up Docker Compose
run: docker-compose up -d # Start Docker Compose services

- name: Wait for MariaDB to be ready
run: |
echo "Waiting for MariaDB to be ready..."
until docker-compose exec icat_mariadb mysqladmin ping -h 127.0.0.1 --silent; do sleep 5; done
shell: bash

- name: Build project and run unit tests
run: ./mvnw clean package -DskipTests

Expand Down

0 comments on commit 0b11431

Please sign in to comment.