Remove or replace references to the Postgres "mini" plan #410
Workflow file for this run
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: Acceptance | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Install Terraform | |
run: | | |
set -eu | |
curl -s -L "https://releases.hashicorp.com/terraform/1.3.6/terraform_1.3.6_linux_amd64.zip" > "terraform-bin.zip" | |
# overwrite existing Terraform binary | |
terraform_bin="$(which terraform)" | |
unzip -p terraform-bin.zip > terraform-bin | |
sudo mv terraform-bin "$terraform_bin" | |
sudo chmod +x "$terraform_bin" | |
rm terraform-bin.zip | |
echo "Installed: $(eval "$terraform_bin version") ($terraform_bin)" | |
- name: Run make fmt | |
if: runner.os != 'Windows' | |
run: | | |
make fmt | |
git diff --exit-code; code=$?; git checkout -- .; (exit $code) | |
- name: Run go vet | |
run: go vet ./... | |
- name: Run tests | |
run: | | |
echo "Using: $(terraform version) ($(which terraform))" | |
make testacc TEST="./heroku/" | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
HEROKU_ORGANIZATION: terraform-ci-test-team | |
HEROKU_SPACES_ORGANIZATION: terraform-ci-test-team | |
HEROKU_TEAM: terraform-ci-test-team | |
HEROKU_EMAIL: [email protected] | |
HEROKU_TEST_USER: [email protected] | |
HEROKU_NON_ADMIN_TEST_USER: [email protected] | |
HEROKU_SLUG_ID: f2eba78f-25c9-476b-8998-2325241b980a | |
HEROKU_USER_ID: aaaa7bc7-7de5-410f-a60c-3741d2c355d1 | |
# GOFLAGS: "-mod=vendor" | |
# TF_LOG: DEBUG |