Skip to content

Commit

Permalink
Run bridge CI for feature flags (#2446)
Browse files Browse the repository at this point in the history
This allows us to continuously test feature flags before they are
released. This will help us not regress on behaviour there.

fixes #2432
  • Loading branch information
VenelinMartinov authored Sep 26, 2024
1 parent bf6eba4 commit cc6374c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
# go version in our go.mod files.
go-version: [1.22.x, 1.23.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
feature-flags: ["DEFAULT", "PULUMI_TF_BRIDGE_ACCURATE_BRIDGE_PREVIEW"]
runs-on: ${{ matrix.platform }}
steps:
- name: Install pulumi
Expand All @@ -34,6 +35,12 @@ jobs:
go-version: ${{ matrix.go-version }}
cache-dependency-path: |
**/go.sum
- name: export feature flags
run: echo ${{ matrix.feature-flags }}=true >> $GITHUB_ENV
if: ${{ matrix.platform != 'windows-latest' && matrix.feature-flags != 'DEFAULT' }}
- name: export feature flags
run: echo ${{ matrix.feature-flags }}=true >> $env:GITHUB_ENV
if: ${{ matrix.platform == 'windows-latest' && matrix.feature-flags != 'DEFAULT' }}
- name: Build
run: make build
- name: Build PF
Expand Down

0 comments on commit cc6374c

Please sign in to comment.