Skip to content

Commit

Permalink
adapter code coverage fix for master (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit-Pinge authored Nov 2, 2023
1 parent e2b38ac commit 0894a0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/adapter-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
id: run_coverage
if: ${{ steps.get_directories.outputs.result }} != ""
run: |
git config --global url."https://${USERNAME}:${TOKEN}@git.pubmatic.com".insteadOf "https://git.pubmatic.com"
directories=$(echo '${{ steps.get_directories.outputs.result }}' | jq -r '.[]')
go mod download
Expand All @@ -65,13 +67,18 @@ jobs:
# remove pull request branch files
cd ..
rm -f -r ./*
env:
GO111MODULE: "on"
GOPRIVATE: "git.pubmatic.com/PubMatic/*"
TOKEN: ${{ secrets.PM_OPENWRAP_CICD_PASSWORD }}
USERNAME: ${{ secrets.PM_OPENWRAP_CICD_USERNAME }}

- name: Checkout coverage-preview branch
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: coverage-preview
repository: prebid/prebid-server
repository: PubMatic-OpenWrap/prebid-server

- name: Commit coverage files to coverage-preview branch
if: ${{ steps.run_coverage.outputs.coverage_dir }} != ""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-repo-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request_target:
types: [closed]
branches:
- "master"
- "master-disable"

jobs:
cross-repo:
Expand Down

0 comments on commit 0894a0a

Please sign in to comment.