Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce sleep durations in CI workflow and justfile for improved effic…
Browse files Browse the repository at this point in the history
…iency
benc-uk committed Dec 9, 2024

Verified

This commit was signed with the committer’s verified signature.
vandonr Raphaël Vandon
1 parent ff9cd59 commit ef0a711
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ jobs:
API_ENDPOINT: http://localhost:8000/api
run: |
just run-all &
sleep 40
sleep 25
just test-api true
- name: Test Report (Integration)
@@ -73,6 +73,12 @@ jobs:
reporter: java-junit

- name: Check the build
env:
VERSION: dev
BUILD_INFO: "ignore me"
IMAGE_REG: ignored
IMAGE_NAME: ignored
IMAGE_TAG: ignored
run: just build

image-build:
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ run-all:
#!/bin/env bash
trap "echo -e '\n⛔ Removing MongoDB container' && docker rm -f mongo" EXIT
if ! docker ps | grep -q mongo; then {{ just_executable() }} run-db & fi
sleep 20
sleep 10
{{ just_executable() }} run-runner &
sleep 5
{{ just_executable() }} run-api &

0 comments on commit ef0a711

Please sign in to comment.