Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue with Github client tests timing out (#906)
* added new function to deal with the merge testing Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * changed the build tag Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * added new workflow to run on-merge step seperately Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * moved integration-merge-test to seperate pipeline Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * added new function to deal with the merge testing Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * changed the build tag Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * added new workflow to run on-merge step seperately Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * moved integration-merge-test to seperate pipeline Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * Update Makefile Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com> Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> * add whitespace,remove neo4j integration-merge-test Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> --------- Signed-off-by: krishnaduttPanchagnula <krishnadutt123@gmail.com> Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
- Loading branch information
1 parent
08bbd69
commit 131eeab
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
name: Post Merge Actions | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
integration-merge-test: | ||
# if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged | ||
runs-on: ubuntu-latest | ||
name: CI for Integration Merge Test | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3 | ||
- name: setup-go | ||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # tag=v3.2.1 | ||
with: | ||
go-version: '1.19' | ||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
- name: Setup the project | ||
run: go mod download | ||
- name: Run integration merge test | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: make integration-merge-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters