Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/test-on-push-and-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test-on-push-and-pr

on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Run 'pr' target
run: make pr
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dev: init test

# Verifications to run before sending a pull request
.PHONY: pr
pr: dev test-smoke
pr: build dev test-smoke

.PHONY: clean
clean:
Expand Down
4 changes: 2 additions & 2 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ if test "${current_path#*$node_modules_path}" != "$current_path" || [ "$BUILD" !

# Clean up source dependencies
rm -rf "$deps_path"/patches
rm -rf "$deps_path"/aws-lambda-cpp*
rm -rf "$deps_path"/curl*
rm -rf "$deps_path"/aws-lambda-cpp*[^gz]$
rm -rf "$deps_path"/curl*[^gz]$
fi
2 changes: 1 addition & 1 deletion test/integration/codebuild-local/codebuild_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ then
exit 1
fi

docker_command="docker run -it "
docker_command="docker run "
if isOSWindows
then
docker_command+="-v //var/run/docker.sock:/var/run/docker.sock -e "
Expand Down