E2E specs - #698
Merged
Merged
Conversation
lovro-bikic
commented
Aug 20, 2021
| - run: bundle exec rubocop | ||
| - run: bundle exec rspec | ||
| - name: E2E tests | ||
| if: ${{ success() && matrix.os != 'macos-10.15' }} |
Member
Author
There was a problem hiding this comment.
We can't run E2E tests on Mac because it doesn't come with docker, see actions/runner-images#17.
|
|
||
| # :nocov: | ||
| def run | ||
| def run(*args) |
Member
Author
There was a problem hiding this comment.
This is how run method is defined in Rake::Application.
|
|
||
| def initialize(script) | ||
| @script = script | ||
| @script = Shellwords.shellsplit(script) |
Member
Author
There was a problem hiding this comment.
This was a bug I introduced in #686, E2E tests caught it.
| @@ -0,0 +1,27 @@ | |||
| -----BEGIN OPENSSH PRIVATE KEY----- | |||
Member
Author
There was a problem hiding this comment.
Usually this isn't safe to keep in repos, but I generated this key just for e2e purposes.
d4be4st
approved these changes
Jan 4, 2022
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds E2E tests. The idea is to create a docker container into which we can SSH and execute mina commands on it. I added three specs which are ran in this order:
mina deploybefore callingmina setupfirst (it fails)mina setup(it passes)mina deploy(it passes since setup has been run)I'll add more tests later, this was just initially added to make it work.