Skip to content

Commit 16aca0a

Browse files
authored
Merge pull request #551 from yussufsh/main
Add CI job for running Integration Test
2 parents c09d0ce + 505587f commit 16aca0a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Integration Test
2+
3+
on:
4+
schedule:
5+
- cron: '30 5 * * 2,4'
6+
workflow_dispatch:
7+
inputs: {}
8+
9+
jobs:
10+
it:
11+
name: Integration tests
12+
runs-on: ubuntu-latest
13+
environment: powervs
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
19+
- run: make test-integration
20+
env:
21+
IBMCLOUD_API_KEY: ${{ secrets.IBMCLOUD_API_KEY }}
22+
IBMCLOUD_ACCOUNT_ID: ${{ secrets.IBMCLOUD_ACCOUNT_ID }}
23+
POWERVS_CLOUD_INSTANCE_ID: ${{ secrets.POWERVS_CLOUD_INSTANCE_ID }}
24+
POWERVS_ZONE: ${{ vars.POWERVS_ZONE }}
25+
POWERVS_NETWORK: ${{ vars.POWERVS_NETWORK }}
26+
POWERVS_IMAGE: ${{ vars.POWERVS_IMAGE }}
27+
TEST_REMOTE_NODE: ${{ vars.TEST_REMOTE_NODE }}

0 commit comments

Comments
 (0)