File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed
test/integration/codebuild-local Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 1+ name : test-on-push-and-pr
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ '*' ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up node
16+ uses : actions/setup-node@v1
17+ with :
18+ node-version : ' 12'
19+ - name : Run 'pr' target
20+ run : make pr
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ dev: init test
4141
4242# Verifications to run before sending a pull request
4343.PHONY : pr
44- pr : dev test-smoke
44+ pr : build dev test-smoke
4545
4646.PHONY : clean
4747clean :
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ if test "${current_path#*$node_modules_path}" != "$current_path" || [ "$BUILD" !
2121
2222 # Clean up source dependencies
2323 rm -rf " $deps_path " /patches
24- rm -rf " $deps_path " /aws-lambda-cpp*
25- rm -rf " $deps_path " /curl*
24+ rm -rf " $deps_path " /aws-lambda-cpp* [^gz]$
25+ rm -rf " $deps_path " /curl* [^gz]$
2626fi
Original file line number Diff line number Diff line change 9595 exit 1
9696fi
9797
98- docker_command=" docker run -it "
98+ docker_command=" docker run "
9999if isOSWindows
100100then
101101 docker_command+=" -v //var/run/docker.sock:/var/run/docker.sock -e "
You can’t perform that action at this time.
0 commit comments