new: Add cross repo testing for Release #1
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: Release Terraform cross repository test | ||
on: | ||
workflow_dispatch: # Manual trigger | ||
jobs: | ||
terraform_integration_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# - name: Checkout linodego repository | ||
# uses: actions/checkout@v4 | ||
- name: checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: linode/terraform-provider-linode | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 'stable' | ||
- run: go version | ||
- run: | | ||
# cd .linode/terraform-provider-linode | ||
make deps | ||
- name: Update system packages | ||
run: sudo apt-get update -y | ||
- name: Install system deps | ||
run: sudo apt-get install -y build-essential | ||
# - name: Install linodego from source | ||
# run: | | ||
# curr_dir=$(pwd) | ||
# cd .linode/terraform-provider-linode | ||
# go mod edit -replace=github.com/linode/linodego=$curr_dir | ||
- name: run tests | ||
run: | | ||
# cd .linode/terraform-provider-linode | ||
make int-test | ||
env: | ||
LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }} |