Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get tests passing #45

Merged
merged 5 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 11 additions & 18 deletions .github/workflows/tcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,26 @@ on:

jobs:
test:
name: Test
name: "Test: Ruby ${{ matrix.ruby }}"
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby:
- "2.0.0"
- "2.1.9"
- "2.2.10"
- "2.3.7"
- "2.4.4"
- "2.5.1"
- "2.7.3"
- "3.0.1"

- "2.7"
- "3.0"
- "3.1"
steps:
- uses: actions/checkout@v2

- name: Initial setup
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Install dependencies
run: bundle install

- name: Run tests
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Ruby Version
run: ruby --version
- name: Run Tests
run: bundle exec rspec

testall:
sionide21 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ test/tmp
test/version_tmp
tmp
/.idea
.tool-versions
1 change: 0 additions & 1 deletion .rvmrc

This file was deleted.

8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
source 'https://rubygems.org'
source "https://rubygems.org"

# Specify your gem's dependencies in tcr.gemspec
gemspec

gem "rspec"
gem "mail"
gem "net-ldap"
gem "mime-types"
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new('spec')
RSpec::Core::RakeTask.new("spec")
task :default => :spec
6 changes: 0 additions & 6 deletions tcr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,4 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.add_development_dependency "rspec"
gem.add_development_dependency "mail"
gem.add_development_dependency "net-ldap"
gem.add_development_dependency "mime-types", "~>2.0"
gem.add_development_dependency "geminabox"
end
Loading