Skip to content

Bug/issue #246

Bug/issue #246 #128

Workflow file for this run

name: Test marketplace application ds/rs
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**.go"
- ".github/workflows/marketplace_app.yml"
pull_request:
branches:
- master
paths:
- "**gridscale_marketplace_app**"
- "gridscale/error-handler/**"
- "gridscale/common.go"
- "gridscale/config.go"
- "gridscale/provider.go"
- "gridscale/provider_test.go"
- ".github/workflows/marketplace_app.yml"
jobs:
build:
name: Marketplace application AccTest
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: ^1.17
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run TestAccdataSourceGridscaleMarketplaceApplication_basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccdataSourceGridscaleMarketplaceApplication_basic'
- name: Run TestAccResourceGridscaleMarketplaceApplication_Basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccResourceGridscaleMarketplaceApplication_Basic'
- name: Run TestAccResourceGridscaleMarketplaceApplicationImport_Basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccResourceGridscaleMarketplaceApplicationImport_Basic'