From 4cdad44f1caf8c85adae46ec4232aeddc46b9a1e Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 22 Jul 2024 20:52:24 +0100 Subject: [PATCH] Adds simple cov code on other nodes --- .github/workflows/build.yml | 51 +++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d131fa148e..8bd721a977 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,7 +95,6 @@ jobs: retention-days: 7 if-no-files-found: ignore - models: runs-on: ubuntu-22.04 services: @@ -155,6 +154,14 @@ jobs: run: | bin/rake knapsack_pro:rspec + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore + system_admin: runs-on: ubuntu-22.04 services: @@ -233,6 +240,14 @@ jobs: retention-days: 7 if-no-files-found: ignore + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore + system_consumer: runs-on: ubuntu-22.04 services: @@ -311,6 +326,14 @@ jobs: retention-days: 7 if-no-files-found: ignore + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore + engines: runs-on: ubuntu-22.04 services: @@ -390,6 +413,14 @@ jobs: retention-days: 7 if-no-files-found: ignore + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore + test_the_rest: runs-on: ubuntu-22.04 services: @@ -458,6 +489,14 @@ jobs: run: | bin/rake knapsack_pro:rspec + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore + non_knapsack_jest_karma: runs-on: ubuntu-22.04 services: @@ -494,4 +533,12 @@ jobs: run: bin/rake karma:run - name: Run jest tests - run: yarn jest \ No newline at end of file + run: yarn jest + + - name: Save SimpleCov file + uses: actions/upload-artifact@v3 + with: + name: simple-cov-output-files + path: coverage/*.* + retention-days: 7 + if-no-files-found: ignore \ No newline at end of file