mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
ci: Add token parameter to codecov action (#3759)
* Add token parameter to codecov action * add secrets: inherit
This commit is contained in:
1
.github/workflows/e2e-test.yml
vendored
1
.github/workflows/e2e-test.yml
vendored
@@ -56,3 +56,4 @@ jobs:
|
||||
with:
|
||||
files: ./packages/${{ inputs.package }}/coverage/lcov.info
|
||||
flags: ${{ inputs.package }}-e2e,${{ inputs.package }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
1
.github/workflows/integration-test.yml
vendored
1
.github/workflows/integration-test.yml
vendored
@@ -46,3 +46,4 @@ jobs:
|
||||
with:
|
||||
files: ./packages/${{ inputs.package }}/coverage/lcov.info
|
||||
flags: ${{ inputs.package }}-integration,${{ inputs.package }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
13
.github/workflows/lib-check.yml
vendored
13
.github/workflows/lib-check.yml
vendored
@@ -137,6 +137,7 @@ jobs:
|
||||
name: Bot
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: bot
|
||||
# https://github.com/orgs/community/discussions/12835
|
||||
@@ -152,6 +153,7 @@ jobs:
|
||||
name: Bot
|
||||
needs: bot-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: bot
|
||||
|
||||
@@ -159,12 +161,14 @@ jobs:
|
||||
name: Discordeno
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: discordeno
|
||||
discordeno-other-runtime-test:
|
||||
name: Discordeno
|
||||
needs: discordeno-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: discordeno
|
||||
|
||||
@@ -172,18 +176,21 @@ jobs:
|
||||
name: Gateway
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: gateway
|
||||
gateway-integration-test:
|
||||
name: Gateway
|
||||
needs: build-dist
|
||||
uses: ./.github/workflows/integration-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: gateway
|
||||
gateway-other-runtime-test:
|
||||
name: Gateway
|
||||
needs: [gateway-unit-test, gateway-integration-test]
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: gateway
|
||||
|
||||
@@ -191,6 +198,7 @@ jobs:
|
||||
name: Rest
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: rest
|
||||
# https://github.com/orgs/community/discussions/12835
|
||||
@@ -206,6 +214,7 @@ jobs:
|
||||
name: Rest
|
||||
needs: rest-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: rest
|
||||
|
||||
@@ -213,12 +222,14 @@ jobs:
|
||||
name: Types
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: types
|
||||
types-other-runtime-test:
|
||||
name: Types
|
||||
needs: types-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: types
|
||||
|
||||
@@ -226,11 +237,13 @@ jobs:
|
||||
name: Utils
|
||||
needs: [build-dist, build-type-and-test]
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: utils
|
||||
utils-other-runtime-test:
|
||||
name: Utils
|
||||
needs: utils-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
package: utils
|
||||
|
||||
1
.github/workflows/unit-test.yml
vendored
1
.github/workflows/unit-test.yml
vendored
@@ -52,3 +52,4 @@ jobs:
|
||||
with:
|
||||
files: ./packages/${{ inputs.package }}/coverage/lcov.info
|
||||
flags: ${{ inputs.package }}-unit,${{ inputs.package }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user