Skip to content

build(deps): bump the aws-sdk group with 6 updates (#78) #145

build(deps): bump the aws-sdk group with 6 updates (#78)

build(deps): bump the aws-sdk group with 6 updates (#78) #145

name: Azurebs Integration Tests
on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/azurebs-integration.yml"
- "azurebs/**"
- "go.mod"
- "go.sum"
push:
branches:
- main
concurrency:
group: azurebs-integration
cancel-in-progress: false
jobs:
azurecloud-environment-integration-tests:
name: AzureCloud Environment Integration Tests
runs-on: ubuntu-latest
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
if: |
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Setup Azurebs Test Environment
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/setup.sh
- name: Run Tests
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/run-int.sh
- name: Teardown Azurebs Test Environment
if: always()
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/teardown.sh