File tree 5 files changed +26
-4
lines changed
integration/codebuild-local
unit/resources/runtime_handlers
5 files changed +26
-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 ruby
16
+ uses : ruby/setup-ruby@v1
17
+ with :
18
+ ruby-version : 2.7
19
+ - name : Run 'pr' target
20
+ run : make pr
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ test-integ: setup-codebuild-agent
27
27
build :
28
28
rake build
29
29
30
+ .PHONY : pr
31
+ pr : init test-unit test-smoke
32
+
30
33
define HELP_MESSAGE
31
34
32
35
Usage: $ make [TARGETS]
@@ -39,5 +42,6 @@ TARGETS
39
42
test-integ Run Integration tests.
40
43
test-unit Run Unit Tests.
41
44
test-smoke Run Sanity/Smoke tests.
45
+ pr Perform all checks before submitting a Pull Request.
42
46
43
47
endef
Original file line number Diff line number Diff line change @@ -37,4 +37,5 @@ Gem::Specification.new do |spec|
37
37
spec . add_development_dependency 'bundler' , '>= 2.0'
38
38
spec . add_development_dependency 'minitest' , '~> 5.0'
39
39
spec . add_development_dependency 'rake' , '~> 13.0'
40
+ spec . add_development_dependency 'activesupport' , '~> 6.0.1'
40
41
end
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 "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments