Skip to content

Weekly Tests

Weekly Tests #135

Workflow file for this run

# Copyright (c) HashiCorp, Inc.
name: Weekly Tests
on:
workflow_dispatch:
schedule:
- cron: "10 2 * * 3"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GO_VERSION: 1.21.8
CONSUL_VERSION: 1.12.1
TERRAFORM_VERSION: 1.7.5
VAULT_VERSION: 1.10.3
jobs:
compatability:
name: Compatability Tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Run compatability tests
run: |
make test-compat
vault-integration:
name: Vault Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup Vault
uses: ./.github/actions/setup-vault
with:
version: ${{ env.VAULT_VERSION }}
- name: Run Vault integration tests
run: |
make test-vault-integration
slack-notification:
name: Slack Notification
if: |
failure()
needs:
- compatability
- vault-integration
runs-on: ubuntu-latest
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309 # master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}