From b17fca4c38575625b3ddf44c36db5f1c9d295e51 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 6 Mar 2025 21:24:34 -0800 Subject: [PATCH] move this, for now --- .github/workflows/ci.yml | 82 ++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e27857fe9..f4066c384 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,6 +186,47 @@ jobs: docker compose --file ${{ github.workspace }}/docker/compose/docker-compose.ci-test.yml logs docker compose --file ${{ github.workspace }}/docker/compose/docker-compose.ci-test.yml down + backend-tests-data-upload: + name: "Upload backend tests data to Codecov" + runs-on: ubuntu-24.04 + if: >- + always() && + (needs.tests-backend.result == 'failure' || needs.tests-backend.result == 'success') + needs: + - tests-backend + steps: + - + uses: actions/checkout@v4 + # Results + - + name: Download backend test results artifacts + uses: actions/download-artifact@v4 + with: + path: src/ + pattern: backend-test-results-* + merge-multiple: true + - + name: Upload backend test results to Codecov + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: backend + directory: src/ + # Coverage + - + name: Download backend coverage artifacts + uses: actions/download-artifact@v4 + with: + name: backend-coverage-report + path: src/ + - + name: Upload backend coverage to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: backend + directory: src/ + install-frontend-dependencies: name: "Install Frontend Dependencies" runs-on: ubuntu-24.04 @@ -304,47 +345,6 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: cd src-ui && ng build --configuration=production - backend-tests-data-upload: - name: "Upload backend tests data to Codecov" - runs-on: ubuntu-24.04 - if: >- - always() && - (needs.tests-backend.result == 'failure' || needs.tests-backend.result == 'success') - needs: - - tests-backend - steps: - - - uses: actions/checkout@v4 - # Results - - - name: Download backend test results artifacts - uses: actions/download-artifact@v4 - with: - path: src/ - pattern: backend-test-results-* - merge-multiple: true - - - name: Upload backend test results to Codecov - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - flags: backend - directory: src/ - # Coverage - - - name: Download backend coverage artifacts - uses: actions/download-artifact@v4 - with: - name: backend-coverage-report - path: src/ - - - name: Upload backend coverage to Codecov - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - flags: backend - directory: src/ - build-docker-image: name: Build Docker image for ${{ github.ref_name }} runs-on: ubuntu-24.04