Skip to content

Commit

Permalink
Update CI to expose JUnit artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
michelletran-codecov committed Dec 13, 2024
1 parent e45ac14 commit 1e0128d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
lint:
name: Run Lint

uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27

secrets: inherit
with:
Expand All @@ -37,14 +37,14 @@ jobs:
codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27

secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27

secrets: inherit
with:
Expand All @@ -54,7 +54,7 @@ jobs:
name: Build Self Hosted Worker
needs: [build, test]

uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -63,7 +63,7 @@ jobs:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27
secrets: inherit
with:
environment: staging
Expand All @@ -73,7 +73,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27
secrets: inherit
with:
environment: production
Expand All @@ -84,7 +84,7 @@ jobs:
needs: [build-self-hosted, test]
secrets: inherit
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].26
uses: codecov/gha-workflows/.github/workflows/[email protected].27
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

0 comments on commit 1e0128d

Please sign in to comment.