-
Notifications
You must be signed in to change notification settings - Fork 34
Creating a GitHub Action to run automated tests #200
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
Closed
Closed
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9b550a2
Saving GitHub Action for testing.
prestoncarman 92d60b9
Fixing yaml error
prestoncarman 0dfb048
Adding documentation about GitHub Actions.
prestoncarman f6fdb38
Merge branch 'master' into master
prestoncarman 2374455
Testing running Windows and MacOS
prestoncarman eb28d2e
merge master
prestoncarman 9a828d9
Updated language for all OS testing in GitHub Actions
prestoncarman 0743e04
Merging master.
prestoncarman f9aa147
Updated based on PR feedback
prestoncarman 456bbf3
Fixing workflow names
prestoncarman be09e13
Making install executable.
prestoncarman f6140aa
Typo
prestoncarman 27e1037
Updating changelog
prestoncarman eefbd59
Merge branch 'master' of github.com:Arduino-CI/arduino_ci
prestoncarman 3b5b96d
Fixing warning on windows
prestoncarman 0ca009d
Simplifying the network test
prestoncarman 62d86de
Working branch merge. (#1)
prestoncarman a98631a
Removed unused parameter from TravisCI
prestoncarman 952944d
Merge branch 'master' of github.com:prestoncarman/arduino_ci
prestoncarman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,47 @@ | ||
# This is the name of the workflow, visible on GitHub UI | ||
name: linux | ||
|
||
# Run on a Push or a Pull Request | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
TestSomething: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
# Install and run Arduino CI tests for TestSomething | ||
- name: Build and Execute | ||
run: | | ||
g++ -v | ||
bundle install | ||
bundle exec rubocop --version | ||
bundle exec rubocop -D . | ||
bundle exec rspec --backtrace | ||
cd SampleProjects/TestSomething | ||
bundle install | ||
bundle exec arduino_ci.rb | ||
|
||
Network: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
# Install and run Arduino CI tests for Network | ||
- name: Build and Execute | ||
run: | | ||
g++ -v | ||
bundle install | ||
bundle exec rubocop --version | ||
bundle exec rubocop -D . | ||
bundle exec rspec --backtrace | ||
cd SampleProjects/NetworkLib | ||
./scripts/install.sh | ||
bundle install | ||
bundle exec arduino_ci.rb |
This file contains hidden or 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,47 @@ | ||
# This is the name of the workflow, visible on GitHub UI | ||
name: windows | ||
|
||
# Run on a Push or a Pull Request | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
TestSomething: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
# Install and run Arduino CI tests for TestSomething | ||
- name: Build and Execute | ||
run: | | ||
g++ -v | ||
bundle install | ||
bundle exec rubocop --version | ||
bundle exec rubocop -D . | ||
bundle exec rspec --backtrace | ||
cd SampleProjects/TestSomething | ||
bundle install | ||
bundle exec arduino_ci.rb | ||
|
||
Network: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
|
||
# Install and run Arduino CI tests for Network | ||
- name: Build and Execute | ||
run: | | ||
g++ -v | ||
bundle install | ||
bundle exec rubocop --version | ||
bundle exec rubocop -D . | ||
bundle exec rspec --backtrace | ||
cd SampleProjects/NetworkLib | ||
./scripts/install.sh | ||
bundle install | ||
bundle exec arduino_ci.rb |
This file contains hidden or 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 hidden or 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
Empty file.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.