-
Notifications
You must be signed in to change notification settings - Fork 0
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
CI: run rspec in GitHub Actions #17
base: master
Are you sure you want to change the base?
Conversation
65b2766
to
9b3b0d1
Compare
9b3b0d1
to
6eb2e3d
Compare
- name: Run test | ||
run: | | ||
rake test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここ以外はmain.yml
からコピーしてきているので変更はありません。
@@ -1,5 +1,9 @@ | |||
# AutoReserve | |||
|
|||
[![Test](https://github.com/po-miyasaka/AutoReserve/workflows/Test/badge.svg)](https://github.com/po-miyasaka/AutoReserve/actions?query=workflow%3ATest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[![License](https://img.shields.io/github/license/po-miyasaka/AutoReserve)](https://github.com/po-miyasaka/AutoReserve/blob/master/LICENSE) | ||
[![Twitter](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Fpo_miyasaka)](https://twitter.com/po_miyasaka) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,4 +1,4 @@ | |||
name: Run danger | |||
name: Rubocop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あざます!!!!めちゃくちゃありがたやなプルリク😭 |
GitHub Actions で Rspec も実行するようにしました。
master
ブランチにマージされた時でも実行されるように、pushトリガーで RSpec を実行するワークフローrspec.yml
という名前で用意しました。なお、既存のワークフロー名はrubocop.yml
に名前を変更しています。ついでに README の見栄えも良くしてみました(気に入らなければ discard で大丈夫です)。
TODO
main.yml
->rubocop.yml
rspec.yml
の作成(Pushトリガーで Rspec を実行)