This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
71 changed files
with
4,021 additions
and
1 deletion.
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,32 @@ | ||
## Description of Changes | ||
<!--Describe (in detail) the changes in the pull request here.--> | ||
|
||
## Motivation and Context | ||
<!--Why is this change required? What problem does it solve? What does this add?--> | ||
|
||
## How Has This Been Tested? | ||
<!--Describe in detail how these changes have been tested (include environment/devices).--> | ||
|
||
## Type of change | ||
<!--Put an 'x' in all of the boxes that apply.--> | ||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
- [ ] Release activity | ||
|
||
## Checklist: | ||
<!--Put an 'x' in all of the boxes to assure following guidance.--> | ||
Following the [Contributing Guidelines][3] | ||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have added tests that prove my fix is effective or that my feature works and they pass when merging upstream | ||
- [ ] I have added an entry to the [Changelog][2] accordingly | ||
- [ ] I have added my name to the [CONTRIBUTORS.md][1] | ||
- [ ] I have [squashed related commits][4] | ||
|
||
[1]: ./CONTRIBUTORS.md | ||
[2]: ./CHANGELOG.md | ||
[3]: ./CONTRIBUTING.md | ||
[4]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
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,53 @@ | ||
--- | ||
name: CD | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- 2.7 | ||
name: Ruby-${{matrix.ruby}} | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v2 | ||
- name: Setup ruby and bundle | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: bundle exec rspec | ||
- name: Run Rubocop | ||
run: bundle exec rubocop | ||
release: | ||
runs-on: ubuntu-latest | ||
name: Release to RubyGems | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Publish to RubyGems | ||
run: | | ||
mkdir -p $HOME/.gem | ||
touch $HOME/.gem/credentials | ||
chmod 0600 $HOME/.gem/credentials | ||
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials | ||
gem build *.gemspec | ||
gem push *.gem | ||
env: | ||
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" | ||
|
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,39 @@ | ||
--- | ||
#CI will run on all pushes and PRs to verify validity of the code | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: ['**'] | ||
pull_request: | ||
branches: ['main'] | ||
schedule: | ||
- cron: '0 1 * * SUN' | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- 2.6 | ||
- 2.7 | ||
- 3.0 | ||
name: Ruby-${{matrix.ruby}} | ||
continue-on-error: ${{matrix.ruby == 'head'}} | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v2 | ||
- name: Setup ruby and bundle | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: bundle exec rspec | ||
- name: Run Rubocop | ||
run: bundle exec rubocop | ||
|
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,23 @@ | ||
.DS_Store | ||
*.gem | ||
*.rbc | ||
Gemfile.lock | ||
.config | ||
.bundle | ||
.yardoc | ||
_yardoc | ||
coverage | ||
doc | ||
lib/bundler/man | ||
pkg | ||
rdoc | ||
spec/reports | ||
test/tmp | ||
test/version_tmp | ||
tmp | ||
log/*.log | ||
coverage/ | ||
.idea | ||
spec/internal/log | ||
target | ||
build |
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,4 @@ | ||
--format documentation | ||
--color | ||
--require spec_helper | ||
--order random |
Oops, something went wrong.