Skip to content

Commit e6f3780

Browse files
committed
Updated to test with Ruby 3.4
1 parent d48d9ad commit e6f3780

File tree

7 files changed

+25
-123
lines changed

7 files changed

+25
-123
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
2-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
31

4-
name: Ruby 3.3
2+
name: Build
53

64
on:
75
push:
@@ -11,16 +9,27 @@ on:
119

1210
jobs:
1311
test:
14-
12+
name: Ruby ${{ matrix.ruby }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
ruby:
17+
- "2.7"
18+
- "3.0"
19+
- "3.1"
20+
- "3.2"
21+
- "3.3"
22+
- "3.4"
23+
1524
runs-on: ubuntu-latest
1625

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

25-
- name: Run tests
34+
- name: Run Tests
2635
run: bundle exec rspec spec

.github/workflows/code_coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Ruby
2222
uses: ruby/setup-ruby@v1
2323
with:
24-
ruby-version: '3.3' # Not needed with a .ruby-version file
24+
ruby-version: '3.4' # Not needed with a .ruby-version file
2525
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2626

2727
- name: Install Appraisal Gems

.github/workflows/ruby_2_7.yml

-27
This file was deleted.

.github/workflows/ruby_3_0.yml

-26
This file was deleted.

.github/workflows/ruby_3_1.yml

-26
This file was deleted.

.github/workflows/ruby_3_2.yml

-26
This file was deleted.

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@
1212
[//]: # "##### BADGES #####"
1313
[//]: # "############################################"
1414

15+
## Status
16+
17+
![Build](https://github.com/Rubology/result_vault/actions/workflows/build.yml/badge.svg?branch=dev)
18+
 
19+
![100% Test Coverage](https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=dev)
20+
 
21+
[![Gem Version](https://badge.fury.io/rb/result_vault.svg)](https://badge.fury.io/rb/result_vault)
22+
 
23+
[![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license)
1524

16-
| Main Branch| Dev Branch|
17-
|---|---|
18-
| ![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) |
19-
| ![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) |
20-
| ![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) |
21-
| ![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) |
22-
| ![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) |
23-
|   | |
24-
| [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license) | [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](#license) |
25-
| [![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) |
26-
| ![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) |
2725

2826

2927

0 commit comments

Comments
 (0)