Skip to content

Commit

Permalink
Revert incorrect code-cov changes
Browse files Browse the repository at this point in the history
This reverts commit 4bd1a73.
This reverts commit fdee2f7.
This reverts commit d64548e.
This reverts commit b27ad04.
  • Loading branch information
Sean-Der committed Apr 9, 2024
1 parent 4bd1a73 commit fb72a51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test-wasm.reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
go-version:
required: true
type: string
codecov-token:
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -81,4 +78,4 @@ jobs:
fail_ci_if_error: true
flags: wasm
name: codecov-umbrella
token: ${{ inputs.codecov-token }}
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/test.reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
go-version:
required: true
type: string
codecov-token:
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -80,4 +77,4 @@ jobs:
fail_ci_if_error: true
flags: go
name: codecov-umbrella
token: ${{ inputs.codecov-token }}
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 0 additions & 10 deletions ci/.github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ on:
pull_request:

jobs:
get-env-vars:
name: Get Environment vars
runs-on: ubuntu-latest
outputs:
CODECOV_TOKEN: ${{ env.CODECOV_TOKEN }}
steps:
- run: echo "noop"

test:
uses: pion/.goassets/.github/workflows/test.reusable.yml@master
strategy:
Expand All @@ -35,7 +27,6 @@ jobs:
fail-fast: false
with:
go-version: ${{ matrix.go }}
codecov-token: ${{ needs.get-env.outputs.CODECOV_TOKEN }}

test-i386:
uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master
Expand All @@ -50,4 +41,3 @@ jobs:
uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master
with:
go-version: "1.22" # auto-update/latest-go-version
codecov-token: ${{ needs.get-env.outputs.CODECOV_TOKEN }}

0 comments on commit fb72a51

Please sign in to comment.