Skip to content

Commit

Permalink
Merge pull request #33 from comcalvi/run-integ-tests
Browse files Browse the repository at this point in the history
Run integ tests
  • Loading branch information
comcalvi committed Oct 19, 2023
2 parents 447b63c + 6a9d344 commit 8a08b1f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/run-integ-tests.yml
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/

0 comments on commit 8a08b1f

Please sign in to comment.