Skip to content

Commit

Permalink
Merge pull request k8s-ruby#42 from k8s-ruby/cw/add-ruby-31-tests
Browse files Browse the repository at this point in the history
Add Ruby 3.1 testing to CI
  • Loading branch information
clintoncwolfe authored Apr 11, 2023
2 parents b406031 + b999ac5 commit f2f76ac
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ jobs:
- uses: actions/checkout@v3
- run: docker-compose build rspec-3.0
- run: docker-compose run rspec-3.0

build-3-1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker-compose build rspec-3.1
- run: docker-compose run rspec-3.1
8 changes: 8 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ services:
BASE_IMAGE: ruby:3.0
volumes:
- .:/app
rspec-3.1:
build:
context: .
args:
BASE_IMAGE: ruby:3.1
volumes:
- .:/app
entrypoint: bundle exec rspec

0 comments on commit f2f76ac

Please sign in to comment.