Skip to content

Commit

Permalink
Updated to test with Ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMeister committed Jan 3, 2025
1 parent d48d9ad commit e6f3780
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 123 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ruby_3_3.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby 3.3
name: Build

on:
push:
Expand All @@ -11,16 +9,27 @@ on:

jobs:
test:

name: Ruby ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "3.4"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
ruby-version: ${{ matrix.ruby }
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run tests
- name: Run Tests
run: bundle exec rspec spec
2 changes: 1 addition & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
ruby-version: '3.4' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Install Appraisal Gems
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/ruby_2_7.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/ruby_3_0.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/ruby_3_1.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/ruby_3_2.yml

This file was deleted.

20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@
[//]: # "##### BADGES #####"
[//]: # "############################################"

## Status

![Build](https://github.com/Rubology/result_vault/actions/workflows/build.yml/badge.svg?branch=dev)
 
![100% Test Coverage](https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=dev)
 
[![Gem Version](https://badge.fury.io/rb/result_vault.svg)](https://badge.fury.io/rb/result_vault)
 
[![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license)

| Main Branch| Dev Branch|
|---|---|
| ![ruby 3.3](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_3.yml/badge.svg?branch=main) | ![ruby 3.3](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_3.yml/badge.svg?branch=dev) |
| ![ruby 3.2](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_2.yml/badge.svg?branch=main) | ![ruby 3.2](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_2.yml/badge.svg?branch=dev) |
| ![ruby 3.1](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_1.yml/badge.svg?branch=main) | ![ruby 3.1](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_1.yml/badge.svg?branch=dev) |
| ![ruby 3.0](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_0.yml/badge.svg?branch=main) | ![ruby 3.0](https://github.com/Rubology/result_vault/actions/workflows/ruby_3_0.yml/badge.svg?branch=dev) |
| ![ruby 2.7](https://github.com/Rubology/result_vault/actions/workflows/ruby_2_7.yml/badge.svg?branch=main) | ![ruby 2.7](https://github.com/Rubology/result_vault/actions/workflows/ruby_2_7.yml/badge.svg?branch=dev) |
|   | |
| [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license) | [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license) |
| [![Gem Version](https://badge.fury.io/rb/result_vault.svg)](https://badge.fury.io/rb/result_vault) | [![Gem Version](https://badge.fury.io/rb/result_vault.svg)](https://badge.fury.io/rb/result_vault) |
| ![100% Coverage](https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=main) | ![100% Coverage](https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=dev) |



Expand Down

0 comments on commit e6f3780

Please sign in to comment.