Skip to content

Commit 43a2936

Browse files
authored
Remove unused tags (#349)
* refactor(tests): remove unused test tags
1 parent f2c01e0 commit 43a2936

File tree

71 files changed

+90
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+90
-122
lines changed

.github/workflows/ci-master.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,3 @@ jobs:
5757
name: Test
5858
uses: ./.github/workflows/test.yml
5959
secrets: inherit
60-
61-
lint:
62-
name: Lint
63-
runs-on: ubuntu-latest
64-
65-
steps:
66-
- name: Check out code
67-
uses: actions/checkout@v2
68-
69-
- name: Lint
70-
continue-on-error: true
71-
uses: golangci/golangci-lint-action@v1
72-
with:
73-
version: v1.27

.github/workflows/ci-pull-request.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,3 @@ jobs:
5757
name: Test
5858
uses: ./.github/workflows/test.yml
5959
secrets: inherit
60-
61-
lint:
62-
name: Lint
63-
runs-on: ubuntu-latest
64-
65-
steps:
66-
- name: Check out code
67-
uses: actions/checkout@v2
68-
69-
- name: Lint
70-
uses: golangci/golangci-lint-action@v2
71-
with:
72-
args: --timeout 30m

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ on:
44
workflow_call:
55

66
jobs:
7+
lint:
8+
name: Lint
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v2
14+
15+
- name: Lint
16+
uses: golangci/golangci-lint-action@v2
17+
with:
18+
args: --timeout 30m --build-tags unit,tf_acc_sysdig_monitor,tf_acc_sysdig_secure,tf_acc_ibm_monitor
19+
720
test:
821
name: Unit Tests
922
runs-on: ubuntu-latest

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SWEEP?=us-east-1,us-west-2
22
TEST?=./...
3-
TEST_SUITE?=tf_acc_sysdig
3+
TEST_SUITE?=tf_acc_sysdig_monitor,tf_acc_sysdig_secure
44
PKG_NAME=sysdig
55
WEBSITE_REPO=github.com/hashicorp/terraform-website
66
VERSION=$(shell [ ! -z `git tag -l --contains HEAD` ] && git tag -l --contains HEAD || git rev-parse --short HEAD)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build tf_acc_ibm || tf_acc_ibm_monitor
1+
//go:build tf_acc_ibm_monitor
22

33
package buildinfo
44

buildinfo/sysdig.go

Lines changed: 0 additions & 8 deletions
This file was deleted.

sysdig/common_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build tf_acc_sysdig || tf_acc_sysdig_monitor || tf_acc_sysdig_secure || tf_acc_ibm || tf_acc_ibm_monitor || tf_acc_policies || unit
2-
31
package sysdig_test
42

53
import (

sysdig/data_source_sysdig_current_user_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build tf_acc_sysdig || tf_acc_sysdig_monitor || tf_acc_sysdig_secure || tf_acc_ibm || tf_acc_ibm_monitor
1+
//go:build tf_acc_sysdig_monitor || tf_acc_sysdig_secure || tf_acc_ibm_monitor
22

33
package sysdig_test
44

sysdig/data_source_sysdig_fargate_workload_agent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build tf_acc_sysdig || tf_acc_sysdig_monitor || tf_acc_sysdig_secure
1+
//go:build tf_acc_sysdig_monitor || tf_acc_sysdig_secure
22

33
package sysdig_test
44

sysdig/data_source_sysdig_monitor_notification_channel_email_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build tf_acc_sysdig || tf_acc_sysdig_monitor || tf_acc_ibm || tf_acc_ibm_monitor
1+
//go:build tf_acc_sysdig_monitor || tf_acc_ibm_monitor
22

33
package sysdig_test
44

0 commit comments

Comments
 (0)