Skip to content

Commit

Permalink
Test heroku-20 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Sep 26, 2023
1 parent 34e39c2 commit 6f8a8a4
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,27 @@ jobs:
run: bundle exec rspec spec

integration_test:
runs-on: pub-hk-ubuntu-22.04-xlarge
env:
STACK: "heroku-22"
TEST_VERSION: "3.1.4"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.1'
- name: Install dependencies
run: bundle install
- name: Output CHANGELOG
run: bundle exec rake "changelog[$TEST_VERSION]"
- name: Build Docker image
run: bundle exec rake "generate_image[$STACK]"
- name: Generate Ruby Dockerfile
run: bundle exec rake "new[$TEST_VERSION,$STACK]"
- name: Build and package Ruby runtime
run: bash "rubies/$STACK/ruby-$TEST_VERSION.sh"
- name: Verify ruby executable and output rubygems version
run: bundle exec rake "rubygems_version[$TEST_VERSION,$STACK]"


runs-on: pub-hk-ubuntu-22.04-xlarge
strategy:
matrix:
stack: ["heroku-20", "heroku-22"]
version: ["3.1.4"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.1'
- name: Install dependencies
run: bundle install
- name: Output CHANGELOG
run: bundle exec rake "changelog[${{matrix.version}}]"
- name: Build Docker image
run: bundle exec rake "generate_image[${{matrix.stack}}]"
- name: Generate Ruby Dockerfile
run: bundle exec rake "new[${{matrix.version}},${{matrix.stack}}]"
- name: Build and package Ruby runtime
run: bash "rubies/${{matrix.stack}}/ruby-${{matrix.version}}.sh"
- name: Verify ruby executable and output rubygems version
run: bundle exec rake "rubygems_version[${{matrix.version}},${{matrix.stack}}]"

0 comments on commit 6f8a8a4

Please sign in to comment.