debug: add back the check step to isolate the failure further
Some checks failed
build-and-release / build (companies) (push) Successful in 9s
build-and-release / build (cron) (push) Successful in 15s
build-and-release / build (catering-services) (push) Successful in 21s
build-and-release / build (developers) (push) Successful in 14s
build-and-release / build (employees) (push) Successful in 15s
build-and-release / build (fitness-trainers) (push) Successful in 12s
build-and-release / build (gateway) (push) Successful in 14s
build-and-release / build (graphic-designers) (push) Successful in 12s
build-and-release / build (job-seekers) (push) Successful in 10s
build-and-release / build (jobs) (push) Successful in 9s
build-and-release / build (makeup-artists) (push) Successful in 12s
build-and-release / build (photographers) (push) Successful in 10s
build-and-release / build (social-media-managers) (push) Successful in 10s
build-and-release / build (tutors) (push) Successful in 9s
build-and-release / build (customers) (push) Successful in 1m44s
build-and-release / build (video-editors) (push) Successful in 21s
backend-integration-tests / ai-credits (push) Successful in 4s
build-and-release / build (ugc-content-creators) (push) Has been cancelled
build-and-release / build (users) (push) Has been cancelled
build-and-release / build (payments) (push) Has been cancelled
Some checks failed
build-and-release / build (companies) (push) Successful in 9s
build-and-release / build (cron) (push) Successful in 15s
build-and-release / build (catering-services) (push) Successful in 21s
build-and-release / build (developers) (push) Successful in 14s
build-and-release / build (employees) (push) Successful in 15s
build-and-release / build (fitness-trainers) (push) Successful in 12s
build-and-release / build (gateway) (push) Successful in 14s
build-and-release / build (graphic-designers) (push) Successful in 12s
build-and-release / build (job-seekers) (push) Successful in 10s
build-and-release / build (jobs) (push) Successful in 9s
build-and-release / build (makeup-artists) (push) Successful in 12s
build-and-release / build (photographers) (push) Successful in 10s
build-and-release / build (social-media-managers) (push) Successful in 10s
build-and-release / build (tutors) (push) Successful in 9s
build-and-release / build (customers) (push) Successful in 1m44s
build-and-release / build (video-editors) (push) Successful in 21s
backend-integration-tests / ai-credits (push) Successful in 4s
build-and-release / build (ugc-content-creators) (push) Has been cancelled
build-and-release / build (users) (push) Has been cancelled
build-and-release / build (payments) (push) Has been cancelled
This commit is contained in:
parent
22cbd3e285
commit
c0a961c8ef
1 changed files with 26 additions and 2 deletions
|
|
@ -21,5 +21,29 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Debug echo
|
- name: Check for relevant changes
|
||||||
run: echo "hello from ai-credits job, TEST_DATABASE_URL is set = $([ -n "$TEST_DATABASE_URL" ] && echo yes || echo no)"
|
id: check
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
if git rev-parse --verify HEAD^ >/dev/null 2>&1; then
|
||||||
|
BASE="${{ github.event.before }}"
|
||||||
|
if [ -z "$BASE" ] || [ "$BASE" = "0000000000000000000000000000000000000000" ] \
|
||||||
|
|| ! git rev-parse --verify "${BASE}^{commit}" >/dev/null 2>&1; then
|
||||||
|
BASE="HEAD^"
|
||||||
|
fi
|
||||||
|
CHANGED_FILES="$(git diff --name-only "$BASE" HEAD)"
|
||||||
|
else
|
||||||
|
CHANGED_FILES="$(git ls-files)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
run=false
|
||||||
|
if echo "$CHANGED_FILES" | grep -Eq '^(crates/db/|Cargo\.toml|Cargo\.lock|\.forgejo/workflows/test\.yaml)'; then
|
||||||
|
run=true
|
||||||
|
fi
|
||||||
|
echo "run=$run" >> "$GITHUB_OUTPUT"
|
||||||
|
if [ "$run" = "false" ]; then
|
||||||
|
echo "No changes relevant to crates/db - skipping integration tests."
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Debug echo after check
|
||||||
|
run: echo "check.outputs.run was ${{ steps.check.outputs.run }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue