-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexey Matvievsky
committed
Sep 20, 2022
1 parent
a6a8f4b
commit 53265a8
Showing
4 changed files
with
62 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,29 +9,29 @@ on: | |
jobs: | ||
consumer_tests: | ||
name: Consumer tests | ||
runs-on: ubuntu-latest | ||
if: | | ||
( | ||
github.event.comment.body == '/it' ) && ( | ||
github.event.comment.body == '/it' || | ||
github.event.comment.body == '/it-consumer' | ||
) && ( | ||
github.event.comment.author_association == 'COLLABORATOR' || | ||
github.event.comment.author_association == 'OWNER' || | ||
github.event.comment.author_association == 'MEMBER' | ||
) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.repository }} | ||
ref: ${{ github.ref }} | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Install Groovy | ||
run: | | ||
sudo apt-get update && sudo apt-get install groovy -y | ||
sudo apt-get update | ||
sudo apt-get install groovy -y | ||
- name: Setup Git | ||
run: | | ||
git config --global user.email "[email protected]" && git config --global user.name "piper-testing-bot" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "piper-testing-bot" | ||
- name: Run tests | ||
env: | ||
REPOSITORY_UNDER_TEST: ${{ github.repository }} | ||
|
@@ -44,4 +44,5 @@ jobs: | |
NEO_DEPLOY_PASSWORD: ${{ secrets.NEO_DEPLOY_PASSWORD }} | ||
CX_INFRA_IT_TMS_UPLOAD: ${{ secrets.CX_INFRA_IT_TMS_UPLOAD }} | ||
run: | | ||
cd consumer-test && groovy consumerTestController.groovy | ||
cd ./consumer-test | ||
groovy consumerTestController.groovy |
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 |
---|---|---|
|
@@ -11,20 +11,18 @@ jobs: | |
name: Consumer tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.repository }} | ||
ref: ${{ github.ref }} | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Install Groovy | ||
run: | | ||
sudo apt-get update && sudo apt-get install groovy -y | ||
sudo apt-get update | ||
sudo apt-get install groovy -y | ||
- name: Setup Git | ||
run: | | ||
git config --global user.email "[email protected]" && git config --global user.name "piper-testing-bot" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "piper-testing-bot" | ||
- name: Run tests | ||
env: | ||
REPOSITORY_UNDER_TEST: ${{ github.repository }} | ||
|
@@ -37,4 +35,5 @@ jobs: | |
NEO_DEPLOY_PASSWORD: ${{ secrets.NEO_DEPLOY_PASSWORD }} | ||
CX_INFRA_IT_TMS_UPLOAD: ${{ secrets.CX_INFRA_IT_TMS_UPLOAD }} | ||
run: | | ||
cd consumer-test && groovy consumerTestController.groovy | ||
cd ./consumer-test | ||
groovy consumerTestController.groovy |
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