Update README.md (#314) #122
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
name: integration | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
integration-test: | |
name: Run Integration Test | |
runs-on: ubuntu-latest | |
environment: Integration Test | |
permissions: | |
id-token: write | |
steps: | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-region: us-west-2 | |
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | |
role-session-name: IntegrationTestSession | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
- name: Set up env | |
run: source ~/.bashrc | |
- name: Start clean | |
run: make kind-integration-cleanup | |
- name: Set up cluster | |
run: make kind-integration-setup | |
- name: Run tests | |
run: make kind-integration-run | |
- name: Clean up clusters | |
run: make kind-integration-cleanup |