Skip to content

Commit ca8f928

Browse files
committed
test
1 parent fd13b9a commit ca8f928

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/test-provider-tfe/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,26 @@ runs:
5656
using: composite
5757
steps:
5858
- name: Set up Go
59+
if: "!startsWith(github.head_ref, 'changelog/')"
5960
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
6061
with:
6162
go-version-file: go.mod
6263
cache: true
6364

6465
- name: Sync dependencies
66+
if: "!startsWith(github.head_ref, 'changelog/')"
6567
shell: bash
6668
run: |
6769
go mod download
6870
go mod tidy
6971
7072
- name: Install gotestsum
73+
if: "!startsWith(github.head_ref, 'changelog/')"
7174
shell: bash
7275
run: go install gotest.tools/gotestsum@latest
7376

7477
- name: Download artifact
78+
if: "!startsWith(github.head_ref, 'changelog/')"
7579
id: download-artifact
7680
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
7781
with:
@@ -81,6 +85,7 @@ runs:
8185
branch: main
8286

8387
- name: Split acceptance tests
88+
if: "!startsWith(github.head_ref, 'changelog/')"
8489
id: test_split
8590
uses: hashicorp-forge/go-test-split-action@796beedbdb3d1bea14cad2d3057bab5c5cf15fe5 # v1.0.2
8691
with:
@@ -91,6 +96,7 @@ runs:
9196
list: ${{ inputs.list_tests }}
9297

9398
- name: Run Tests
99+
if: "!startsWith(github.head_ref, 'changelog/')"
94100
shell: bash
95101
env:
96102
TFE_HOSTNAME: "${{ inputs.hostname }}"
@@ -119,6 +125,7 @@ runs:
119125
gotestsum --junitfile summary.xml --format short-verbose -- $MOD_PROVIDER $MOD_TFE $MOD_VERSION -v -timeout=60m -run "${{ steps.test_split.outputs.run }}"
120126
121127
- name: Upload test artifacts
128+
if: "!startsWith(github.head_ref, 'changelog/')"
122129
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
123130
with:
124131
name: junit-test-summary-${{ matrix.index }}

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818

1919
tests:
2020
name: run
21-
if: "!startsWith(github.head_ref, 'changelog/')"
2221
runs-on: ubuntu-latest
2322
timeout-minutes: 60
2423
strategy:
@@ -60,7 +59,6 @@ jobs:
6059

6160
tests-combine-summaries:
6261
name: Combine Test Reports
63-
if: "!startsWith(github.head_ref, 'changelog/')"
6462
needs: [ tests ]
6563
runs-on: ubuntu-latest
6664
steps:

0 commit comments

Comments
 (0)