Skip to content

chore: run integration tests on pull request #1

chore: run integration tests on pull request

chore: run integration tests on pull request #1

# Validates Functions Framework with GCF buildpacks.
name: Buildpack Integration Test
on:
pull_request:
# Declare default permissions as read only.
permissions: read-all
jobs:
go113-buildpack-test:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.4
with:
http-builder-source: 'testdata/conformance/function'
http-builder-target: 'declarativeHTTP'
cloudevent-builder-source: 'testdata/conformance/function'
cloudevent-builder-target: 'declarativeCloudEvent'
prerun: 'testdata/conformance/prerun.sh ${{ github.event.pull_request.head.sha }} testdata/conformance/function'
builder-runtime: 'go113'
builder-runtime-version: '1.13'
go116-buildpack-test:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.4
with:
http-builder-source: 'testdata/conformance/function'
http-builder-target: 'declarativeHTTP'
cloudevent-builder-source: 'testdata/conformance/function'
cloudevent-builder-target: 'declarativeCloudEvent'
prerun: 'testdata/conformance/prerun.sh ${{ github.event.pull_request.head.sha }} testdata/conformance/function'
builder-runtime: 'go116'
builder-runtime-version: '1.16'
non-declarative-buildpack-test:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.4
with:
http-builder-source: 'testdata/conformance/nondeclarative'
http-builder-target: 'HTTP'
cloudevent-builder-source: 'testdata/conformance/nondeclarative'
cloudevent-builder-target: 'CloudEvent'
prerun: 'testdata/conformance/prerun.sh ${{ github.event.pull_request.head.sha }} testdata/conformance/nondeclarative'
builder-runtime: 'go116'
builder-runtime-version: '1.16'