File tree Expand file tree Collapse file tree 4 files changed +7
-13
lines changed Expand file tree Collapse file tree 4 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 77 build-and-test :
88 name : Run tests
99 runs-on : ubuntu-latest
10- strategy :
11- matrix :
12- ruby : ['2.7.1']
1310 steps :
1411 - name : Check out code
1512 uses : actions/checkout@v2
1613
1714 - name : Setup Ruby
1815 uses : ruby/setup-ruby@v1
1916 with :
20- ruby-version : ${{ matrix.ruby }}
21-
22- - name : Install Ruby Dependencies
23- run : bundle install
17+ ruby-version : 3.0.2
18+ bundler-cache : true
2419
2520 - name : Run tests
2621 env :
2722 SANDBOX_API_KEY : ${{ secrets.SANDBOX_API_KEY }}
2823 run : make test
2924
3025 - name : Notify slack
26+ if : failure()
3127 uses : kpritam/slack-job-status-action@v1
3228 with :
33- if : failure()
3429 job-status : ${{ job.status }}
3530 slack-bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
3631 channel : eng-notifications
Original file line number Diff line number Diff line change 1212
1313 strategy :
1414 matrix :
15- ruby-version : [3.0.1 , 2.7.4, 2.6.8]
15+ ruby-version : [3.0.2 , 2.7.4, 2.6.8]
1616 max-parallel : 1
1717
1818 steps :
2323 uses : ruby/setup-ruby@v1
2424 with :
2525 ruby-version : ${{ matrix.ruby-version }}
26-
27- - name : Install Ruby Dependencies
28- run : bundle install
26+ bundler-cache : true
2927
3028 - name : Build Gem
3129 run : gem build -o patch_ruby.gem patch_ruby.gemspec
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ PLATFORMS
7373 arm64-darwin-20
7474 arm64-darwin-21
7575 x86_64-darwin-20
76+ x86_64-linux
7677
7778DEPENDENCIES
7879 factory_bot (~> 6.2 )
Original file line number Diff line number Diff line change 2727 )
2828
2929 expect ( flight_estimate . data . type ) . to eq 'flight'
30- expect ( flight_estimate . data . mass_g ) . to eq 1_000_622
30+ expect ( flight_estimate . data . mass_g ) . to be >= 1_000_000
3131 end
3232
3333 it 'supports creating flight estimates with origin and destination' do
You can’t perform that action at this time.
0 commit comments