From 609bf57d21c35d96e52bb38ee03183e06f6c4f02 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 22 Mar 2024 13:16:50 -0300 Subject: [PATCH] [Ci/CD][Tests] Trying to send coverage data early Before combine --- .github/workflows/pythonapp.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d1a5d408..05357d33 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -132,6 +132,14 @@ jobs: # Create the caches with macros python3-coverage run src/kibot --help-outputs > /dev/null ./g4.sh + - name: Upload Coverage + # Don't mix stable coverage with development coverage + if: github.ref == 'refs/heads/dev' + uses: coverallsapp/github-action@v2 + with: + flag-name: independent + parallel: true + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Store coverage if: ${{ always() }} uses: actions/upload-artifact@v4 @@ -150,14 +158,6 @@ jobs: name: Test_Output_Independent # Important! empty directories are skipped!!!! path: output - - name: Upload Coverage - # Don't mix stable coverage with development coverage - if: github.ref == 'refs/heads/dev' - uses: coverallsapp/github-action@v2 - with: - flag-name: independent - parallel: true - github-token: ${{ secrets.GITHUB_TOKEN }} create_images: name: Triggers the docker images creation