From d4254db81427319d5cc0693604ccf8d5e0d789cd Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Wed, 4 Mar 2026 22:53:02 +0300 Subject: [PATCH] CI: Separate build and test steps --- .github/workflows/ci-code.yml | 14 +++++++------- ci-build.sh | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index ae9e7297..f46947d7 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -29,10 +29,10 @@ jobs: name: Linux steps: - uses: actions/checkout@v4 + - name: Build + run: docker build -f Dockerfile.${{ matrix.flavor }} -t profanity . - name: Run tests - run: | - docker build -f Dockerfile.${{ matrix.flavor }} -t profanity . - docker run profanity ./ci-build.sh + run: docker run profanity ./ci-build.sh code-style: runs-on: ubuntu-latest @@ -107,7 +107,7 @@ jobs: name: Code Coverage steps: - uses: actions/checkout@v4 - - name: Build and run coverage - run: | - docker build -f Dockerfile.arch -t profanity-cov . - docker run profanity-cov ./ci-build.sh --coverage-only \ No newline at end of file + - name: Build + run: docker build -f Dockerfile.arch -t profanity-cov . + - name: Run coverage + run: docker run profanity-cov ./ci-build.sh --coverage-only \ No newline at end of file diff --git a/ci-build.sh b/ci-build.sh index 09f3c3f7..c9fdcb0e 100755 --- a/ci-build.sh +++ b/ci-build.sh @@ -86,7 +86,6 @@ extract_test_count() { # and checks that the test framework reports the failure correctly verify_test_failure_detection() { - echo echo "==> Verifying test failure detection..." # Create a simple failing test -- 2.49.1