From eda41322afca9001b65edcc5d570b54a47cfe985 Mon Sep 17 00:00:00 2001 From: Moritz Martinius Date: Thu, 16 Oct 2025 21:30:23 +0200 Subject: [PATCH] Looks the action step was needed afterall :^) --- .gitea/workflows/build.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 083a5cc..170d138 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -38,15 +38,23 @@ jobs: echo "=== End dependency package version ===" - name: setup builddir run: meson setup builddir -Db_coverage=true - - name: build and test dist package - run: ninja -C builddir dist + - name: run unit tests + run: ninja -C builddir test - name: calculate coverage run: ninja -C builddir coverage-text - name: Coverage report run: cat ./builddir/meson-logs/coverage.txt + - name: build and test dist package + run: ninja -C builddir dist - name: upload dist package uses: actions/upload-artifact@v3 with: - name: ptprnt-dist + name: ptprnt path: ./builddir/meson-dist/* if-no-files-found: error + - name: upload coverage report + uses: actions/upload-artifact@v3 + with: + name: coverage.txt + path: ./builddir/meson-logs/coverage.txt + if-no-files-found: error