Fan out release workflow (#7687)

This commit is contained in:
Anton Tayanovskyy 2021-07-29 20:38:56 -04:00 committed by GitHub
parent 994f60b319
commit 669aa8a7ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -298,8 +298,15 @@ jobs:
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 14.x ]
# See scripts/tests_subsets.py when editing
test-subset: [ integration, auto-and-lifecycletest, native, etc ]
runs-on: ${{ matrix.platform }}
steps:
- name: Set PULUMI_TEST_SUBSET env var
run: |
echo "PULUMI_TEST_SUBSET=${{ matrix.test-subset }}" >> $GITHUB_ENV
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
with:
@ -357,7 +364,7 @@ jobs:
PULUMI_ROOT: ${{ runner.temp }}/opt/pulumi
- name: Test
run: |
make test_all
make TEST_ALL_DEPS= test_all
env:
PULUMI_NODE_MODULES: ${{ runner.temp }}/opt/pulumi/node_modules
PULUMI_LOCAL_NUGET: ${{ runner.temp }}/opt/pulumi/nuget

View file

@ -5,6 +5,7 @@ When removing or introducing new test subsets, make sure the
- `.github/workflows/run-build-and-acceptance-tests.yml`
- `.github/workflows/master.yml`
- `.github/workflows/release.yml`
An implied subset `etc` will catch tests not matched by any
explicit subset listed here.