Skip to content

Enable unit tests on Ubuntu 26.04 once a GitHub Actions runner image is available for it #941

@edmorley

Description

@edmorley

The buildpack has some unit tests for cgroups support that run directly on the GitHub Actions runner images, here:

unit-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04", "ubuntu-24.04"]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Ruby and Bundler
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ env.setup_ruby_ruby_version }}"
- name: Execute tests
run: bundle exec rspec test/spec/cgroup_spec.rb

There isn't yet a GitHub Actions ubuntu-26.04 runner image, so we won't be able to enable these tests as part of the initial PR to add Heroku-26 support.

However, once the runner image is available upstream we should enable them.

https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions