Skip to content

hotfix(CLOUDDEV-1003) fix-example-instance v2 #766

hotfix(CLOUDDEV-1003) fix-example-instance v2

hotfix(CLOUDDEV-1003) fix-example-instance v2 #766

Workflow file for this run

name: build
on:
pull_request:
branches: [ master, main, release-cloud, instanceV2]
jobs:
build:
env:
EC_USERNAME: ${{ secrets.EC_USERNAME }}
EC_PASSWORD: ${{ secrets.EC_PASSWORD }}
EC_PERMANENT_TOKEN: ${{ secrets.EC_PERMANENT_TOKEN }}
EC_API: ${{ secrets.EC_API }}
EC_CDN_URL: ${{ secrets.EC_CDN_URL }}
EC_DNS_API: ${{ secrets.EC_DNS_API }}
EC_PLATFORM: ${{ secrets.EC_PLATFORM }}
EC_STORAGE_API: ${{ secrets.EC_STORAGE_API }}
TEST_PROJECT_ID: ${{ secrets.TEST_PROJECT_ID }}
TEST_REGION_ID: ${{ secrets.TEST_REGION_ID }}
TF_ACC: ${{ secrets.TF_ACC }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.0
- name: Linters
run: make linters
- name: Build
run: go build -v ./...
- name: Tests data_source
run: go test -v ./edgecenter/test -tags cloud_data_source -short -timeout=20m
- name: Tests resource
run: go test -v ./edgecenter/test -tags cloud_resource -short -timeout=20m