Skip to content

Commit cc6374c

Browse files
Run bridge CI for feature flags (#2446)
This allows us to continuously test feature flags before they are released. This will help us not regress on behaviour there. fixes #2432
1 parent bf6eba4 commit cc6374c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-and-test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
# go version in our go.mod files.
2121
go-version: [1.22.x, 1.23.x]
2222
platform: [ubuntu-latest, macos-latest, windows-latest]
23+
feature-flags: ["DEFAULT", "PULUMI_TF_BRIDGE_ACCURATE_BRIDGE_PREVIEW"]
2324
runs-on: ${{ matrix.platform }}
2425
steps:
2526
- name: Install pulumi
@@ -34,6 +35,12 @@ jobs:
3435
go-version: ${{ matrix.go-version }}
3536
cache-dependency-path: |
3637
**/go.sum
38+
- name: export feature flags
39+
run: echo ${{ matrix.feature-flags }}=true >> $GITHUB_ENV
40+
if: ${{ matrix.platform != 'windows-latest' && matrix.feature-flags != 'DEFAULT' }}
41+
- name: export feature flags
42+
run: echo ${{ matrix.feature-flags }}=true >> $env:GITHUB_ENV
43+
if: ${{ matrix.platform == 'windows-latest' && matrix.feature-flags != 'DEFAULT' }}
3744
- name: Build
3845
run: make build
3946
- name: Build PF

0 commit comments

Comments
 (0)