File tree 4 files changed +24
-4
lines changed
test/integration/codebuild-local
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
41
41
42
42
# Verifications to run before sending a pull request
43
43
.PHONY : pr
44
- pr : dev test-smoke
44
+ pr : build dev test-smoke
45
45
46
46
.PHONY : clean
47
47
clean :
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ if test "${current_path#*$node_modules_path}" != "$current_path" || [ "$BUILD" !
21
21
22
22
# Clean up source dependencies
23
23
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]$
26
26
fi
Original file line number Diff line number Diff line change 95
95
exit 1
96
96
fi
97
97
98
- docker_command=" docker run -it "
98
+ docker_command=" docker run "
99
99
if isOSWindows
100
100
then
101
101
docker_command+=" -v //var/run/docker.sock:/var/run/docker.sock -e "
You can’t perform that action at this time.
0 commit comments