Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
moonraker595 committed Sep 5, 2024
1 parent 340476a commit dbe6891
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@ jobs:
- name: Set up Docker Compose
run: docker compose up -d

- name: Wait for user1 in PASSWORD table
- name: Wait for container to fill DB and exit
run: |
echo "Waiting for MariaDB to be ready and for user1 in the PASSWORD table..."
until docker-compose exec icat_mariadb mysql -u root -ppw -D authn_db -e "SELECT 1 FROM PASSWD WHERE username='user1'" >/dev/null 2>&1; do
echo "Waiting for MariaDB and user1..."
sleep 5
done
shell: bash

sleep 50
- name: Build project and run unit tests
run: ./mvnw clean package -DskipTests
Expand Down

0 comments on commit dbe6891

Please sign in to comment.