-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from chef/testing
Move to GitHub actions for testing
- Loading branch information
Showing
12 changed files
with
86 additions
and
105 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: 🚀 New Chefstyle Cop Request | ||
about: I have a suggestion for a new Chefstyle cop(and may want to implement it 🙂)! | ||
labels: "Status: Untriaged, New Cop Proposal" | ||
--- | ||
|
||
### Describe the new cop: | ||
|
||
<!--- Why is a new Chefstyle Cop necessary? --> | ||
|
||
### What it would trigger on: | ||
|
||
<!--- Give examples of the code that you're trying to trigger on --> | ||
```ruby | ||
|
||
``` | ||
|
||
### What it would autocorrect to if applicable | ||
|
||
<!--- If autocorrecting is possible what would you correct to? --> | ||
```ruby | ||
|
||
``` | ||
|
||
### Can We Help You Implement This?: | ||
|
||
<!--- The best way to ensure your enhancement is built is to help implement the enhancement yourself. If you're interested in helping out we'd love to give you a hand to make this possible. Let us know if there's something you need. --> |
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 |
---|---|---|
|
@@ -7,3 +7,5 @@ updates: | |
time: "06:00" | ||
timezone: America/Los_Angeles | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- "Type: Chore" |
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,20 @@ | ||
--- | ||
name: lint | ||
|
||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
cookstyle: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.5 | ||
bundler-cache: true | ||
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR | ||
- run: bundle exec chefstyle |
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,27 @@ | ||
--- | ||
name: unit | ||
|
||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2019, ubuntu-latest] | ||
ruby: ['2.5', '2.6', '2.7', '3.0'] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
BUNDLE_WITHOUT: profiling,debug,docs | ||
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rake spec |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Please refer to https://github.com/chef/chef/blob/master/CONTRIBUTING.md | ||
Please refer to https://github.com/chef/chef/blob/main/CONTRIBUTING.md |
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