forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from comcalvi/run-integ-tests
Run integ tests
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: run-integ-tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
steps: | ||
- name: build CDK | ||
run: yarn build | ||
run-integ-tests: | ||
environment: integ-test-workflow-env | ||
name: run integ tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: submit integ test run | ||
# this needs to wait until the cached build is available...WOOOOOOOOooo | ||
# can use $GITHUB_SHA to get the last commit hash on the PR | ||
run: | | ||
curl --header "Content-Type: application/json" --request POST \ | ||
--data '{"prNumber":${{ github.event.number }}}' \ | ||
https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ |