feature/epic0-foundation #1

Merged
master merged 20 commits from feature/epic0-foundation into main 2025-11-05 13:44:59 +01:00
Showing only changes of commit 6b0ba2edc7 - Show all commits

View File

@@ -36,11 +36,15 @@ jobs:
- name: Check for test files
id: check-tests
run: |
if find . -name "*_test.go" -not -path "./vendor/*" -not -path "./.git/*" | grep -q .; then
echo "Checking for test files..."
TEST_FILES=$(find . -name "*_test.go" -not -path "./vendor/*" -not -path "./.git/*" 2>/dev/null || true)
if [ -n "$TEST_FILES" ]; then
echo "Found test files:"
echo "$TEST_FILES"
echo "tests_exist=true" >> $GITHUB_OUTPUT
else
echo "tests_exist=false" >> $GITHUB_OUTPUT
echo "No test files found. Skipping test execution."
echo "tests_exist=false" >> $GITHUB_OUTPUT
fi
- name: Run tests
@@ -51,7 +55,7 @@ jobs:
- name: Upload coverage
if: steps.check-tests.outputs.tests_exist == 'true'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
with:
file: ./coverage.out
fail_ci_if_error: false
@@ -107,7 +111,7 @@ jobs:
run: go build -v -o bin/platform ./cmd/platform
- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: platform-binary
path: bin/platform