Integration #529
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: | |
- master | |
schedule: | |
- cron: '0 1 * * *' | |
workflow_dispatch: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
environment: test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20' | |
- name: Install make | |
run: sudo apt-get install make -y | |
- name: Configure Terraform | |
run: | | |
# This replaces the $HOME variable with the appropriate value. | |
envsubst < .terraformrc_template > ~/.terraformrc | |
- name: Build | |
run: make | |
- name: Run integration tests | |
env: | |
TEST_SINGLESTOREDB_API_KEY: ${{ secrets.TEST_SINGLESTOREDB_API_KEY }} | |
run: make integration | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |