[Ci/CD][Tests] Trying to send coverage data early

Before combine
This commit is contained in:
Salvador E. Tropea 2024-03-22 13:16:50 -03:00
parent b732c00f7c
commit 609bf57d21
1 changed files with 8 additions and 8 deletions

View File

@ -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