Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Jul 2, 2024
1 parent 942f02a commit c2af3f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
cacheKey: ${{ github.sha }}-base:build

lint:
name: Lint
uses: ./.github/workflows/linting-reusable.yml
needs: install-and-build
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
cacheKey: ${{ github.sha }}-base:build
collectCoverage: true

# lint:
# name: Lint
# uses: ./.github/workflows/linting-reusable.yml
# needs: install-and-build
# with:
# ref: refs/pull/${{ github.event.pull_request.number }}/merge
# cacheKey: ${{ github.sha }}-base:build
5 changes: 5 additions & 0 deletions .github/workflows/units-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
required: false
default: false
type: boolean
secrets:
CODECOV_TOKEN:
description: 'Codecov upload token.'
required: true

jobs:
unit-test:
Expand Down Expand Up @@ -69,4 +73,5 @@ jobs:
if: inputs.collectCoverage
uses: codecov/[email protected]
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c2af3f9

Please sign in to comment.