File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 3
3
require_relative '../spec_helper'
4
4
5
5
RSpec . describe 'Compile hooks' do
6
- # TODO: Run this on Heroku-22 too, once it has also migrated to the new build infrastructure.
7
- # (Currently the test fails on the old infrastructure due to subtle differences in system PATH elements.)
8
- context 'when an app has bin/pre_compile and bin/post_compile scripts' , stacks : %w[ heroku-20 heroku-24 ] do
6
+ context 'when an app has bin/pre_compile and bin/post_compile scripts' do
9
7
let ( :app ) { Hatchet ::Runner . new ( 'spec/fixtures/hooks' , config : { 'SOME_APP_CONFIG_VAR' => '1' } ) }
10
8
11
9
it 'runs the hooks with the correct environment' do
Original file line number Diff line number Diff line change 12
12
end
13
13
14
14
RSpec . describe 'pip support' do
15
- # TODO: Run this on Heroku-22 too, once it has also migrated to the new build infrastructure.
16
- # (Currently the test fails on the old infrastructure due to subtle differences in system PATH elements.)
17
- context 'when requirements.txt is unchanged since the last build' , stacks : %w[ heroku-20 heroku-24 ] do
15
+ context 'when requirements.txt is unchanged since the last build' do
18
16
let ( :buildpacks ) { [ :default , 'heroku-community/inline' ] }
19
17
let ( :app ) { Hatchet ::Runner . new ( 'spec/fixtures/requirements_basic' , buildpacks :) }
20
18
Original file line number Diff line number Diff line change 7
7
let ( :buildpacks ) { [ :default , 'heroku-community/inline' ] }
8
8
let ( :app ) { Hatchet ::Runner . new ( 'spec/fixtures/pipenv_basic' , buildpacks :) }
9
9
10
- # TODO: Run this on Heroku-22 too, once it has also migrated to the new build infrastructure.
11
- # (Currently the test fails on the old infrastructure due to subtle differences in system PATH elements.)
12
- it 'builds with the specified python_version and re-uses packages from the cache' ,
13
- stacks : %w[ heroku-20 heroku-24 ] do
10
+ it 'builds with the specified python_version and re-uses packages from the cache' do
14
11
app . deploy do |app |
15
12
# TODO: We should not be leaking the Pipenv installation into the app environment.
16
13
expect ( clean_output ( app . output ) ) . to match ( Regexp . new ( <<~REGEX ) )
You can’t perform that action at this time.
0 commit comments