-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SRE-3058 Run specs with GitHub actions (#6)
* Run specs with GitHub actions * remove travis. refine gemspec * reset authors config * update checkout action version * relax gem version constraints * remove coveralls. fix deprecated value * add back simplecov gem * refactor multi formatter * add workflow badge * remove comment
- Loading branch information
Sam Giffney
authored
Apr 14, 2023
1 parent
56b81cf
commit 2674ba9
Showing
5 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Run specs | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby 2.7 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
- name: Install dependencies | ||
run: | | ||
gem install bundler | ||
bundle install | ||
- name: Run specs | ||
run: bundle exec rspec |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,24 @@ require 'usi/version' | |
Gem::Specification.new do |spec| | ||
spec.name = 'usi' | ||
spec.version = Usi::VERSION | ||
spec.authors = ["John D'Agostino"] | ||
spec.email = ['[email protected]'] | ||
spec.authors = ['ReadyTech'] | ||
spec.email = ['[email protected]'] | ||
spec.summary = %q{Validate Australian Government USI} | ||
spec.description = %q{A gem for validating Australian Government Unique Student Identifiers (USI)} | ||
spec.homepage = 'https://github.com/jobready/usi' | ||
spec.homepage = 'https://github.com/rdytech/usi' | ||
spec.license = 'MIT' | ||
|
||
spec.required_rubygems_version = '>= 1.3.6' | ||
|
||
spec.add_development_dependency 'bundler', '~> 1.0' | ||
spec.add_development_dependency 'rspec', '~> 2.14' | ||
spec.add_development_dependency 'cane', '~> 2.6' | ||
spec.add_development_dependency 'byebug', '~> 2.7' | ||
spec.add_development_dependency 'rake', '~> 10.1' | ||
spec.add_development_dependency 'coveralls', '~> 0' | ||
spec.add_development_dependency 'bundler', '> 1.0' | ||
spec.add_development_dependency 'rspec', '> 2.14' | ||
spec.add_development_dependency 'cane', '> 2.6' | ||
spec.add_development_dependency 'byebug', '> 2.7' | ||
spec.add_development_dependency 'rake', '> 10.1' | ||
spec.add_development_dependency 'simplecov', '> 0' | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ['lib'] | ||
end | ||
|