-
Notifications
You must be signed in to change notification settings - Fork 594
42 lines (40 loc) · 1.4 KB
/
consumer-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Consumer tests
on:
push:
branches:
- master
- it/**
jobs:
consumer_tests:
name: Consumer tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: styfle/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
- name: Install Groovy
run: |
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"
- name: Run tests
env:
REPOSITORY_UNDER_TEST: ${{ github.repository }}
BRANCH_NAME: ${{ github.ref_name }}
BUILD_WEB_URL: https://github.com/SAP/jenkins-library/actions/runs/${{ github.run_id }}
INTEGRATION_TEST_VOTING_TOKEN: ${{ secrets.INTEGRATION_TEST_VOTING_TOKEN }}
CX_INFRA_IT_CF_USERNAME: ${{ secrets.CX_INFRA_IT_CF_USERNAME }}
CX_INFRA_IT_CF_PASSWORD: ${{ secrets.CX_INFRA_IT_CF_PASSWORD }}
NEO_DEPLOY_USERNAME: ${{ secrets.NEO_DEPLOY_USERNAME }}
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