chore: Drop notify on failure, update deps (#486) #1270
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dart Conformance CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0" | |
defaults: | |
run: | |
shell: bash | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
conformance: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.0;" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 | |
with: | |
go-version: '^1.16' | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: stable | |
- run: dart --version | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- run: dart pub upgrade | |
working-directory: integration_test | |
- name: Run HTTP conformance tests | |
uses: GoogleCloudPlatform/functions-framework-conformance/action@v1.8.6 | |
with: | |
functionType: 'http' | |
useBuildpacks: false | |
# Coordinate changes here with the documentation in `CONTRIBUTING.MD` | |
cmd: '"dart integration_test/bin/server.dart --target conformanceHttp"' | |
startDelay: 3 | |
- name: Run CloudEvent conformance tests | |
uses: GoogleCloudPlatform/functions-framework-conformance/action@v1.8.6 | |
with: | |
functionType: 'cloudevent' | |
useBuildpacks: false | |
# Coordinate changes here with the documentation in `CONTRIBUTING.MD` | |
cmd: '"dart integration_test/bin/server.dart --target conformanceCloudEvent --signature-type cloudevent"' | |
validateMapping: false | |
startDelay: 3 |