File tree Expand file tree Collapse file tree 5 files changed +26
-4
lines changed
integration/codebuild-local
unit/resources/runtime_handlers Expand file tree Collapse file tree 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
2727build :
2828 rake build
2929
30+ .PHONY : pr
31+ pr : init test-unit test-smoke
32+
3033define HELP_MESSAGE
3134
3235Usage: $ make [TARGETS]
@@ -39,5 +42,6 @@ TARGETS
3942 test-integ Run Integration tests.
4043 test-unit Run Unit Tests.
4144 test-smoke Run Sanity/Smoke tests.
45+ pr Perform all checks before submitting a Pull Request.
4246
4347endef
Original file line number Diff line number Diff line change @@ -37,4 +37,5 @@ Gem::Specification.new do |spec|
3737 spec . add_development_dependency 'bundler' , '>= 2.0'
3838 spec . add_development_dependency 'minitest' , '~> 5.0'
3939 spec . add_development_dependency 'rake' , '~> 13.0'
40+ spec . add_development_dependency 'activesupport' , '~> 6.0.1'
4041end
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 "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments