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 7
7
build-and-test :
8
8
name : Run tests
9
9
runs-on : ubuntu-latest
10
- strategy :
11
- matrix :
12
- ruby : ['2.7.1']
13
10
steps :
14
11
- name : Check out code
15
12
uses : actions/checkout@v2
16
13
17
14
- name : Setup Ruby
18
15
uses : ruby/setup-ruby@v1
19
16
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
24
19
25
20
- name : Run tests
26
21
env :
27
22
SANDBOX_API_KEY : ${{ secrets.SANDBOX_API_KEY }}
28
23
run : make test
29
24
30
25
- name : Notify slack
26
+ if : failure()
31
27
uses : kpritam/slack-job-status-action@v1
32
28
with :
33
- if : failure()
34
29
job-status : ${{ job.status }}
35
30
slack-bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
36
31
channel : eng-notifications
Original file line number Diff line number Diff line change 12
12
13
13
strategy :
14
14
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]
16
16
max-parallel : 1
17
17
18
18
steps :
23
23
uses : ruby/setup-ruby@v1
24
24
with :
25
25
ruby-version : ${{ matrix.ruby-version }}
26
-
27
- - name : Install Ruby Dependencies
28
- run : bundle install
26
+ bundler-cache : true
29
27
30
28
- name : Build Gem
31
29
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
73
73
arm64-darwin-20
74
74
arm64-darwin-21
75
75
x86_64-darwin-20
76
+ x86_64-linux
76
77
77
78
DEPENDENCIES
78
79
factory_bot (~> 6.2 )
Original file line number Diff line number Diff line change 27
27
)
28
28
29
29
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
31
31
end
32
32
33
33
it 'supports creating flight estimates with origin and destination' do
You can’t perform that action at this time.
0 commit comments