-
Notifications
You must be signed in to change notification settings - Fork 4
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: add integration test to GitHub Action #24
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a14b27b
ci: add integration test to GitHub Action
LuqiPan 7412116
ci: add comment and switch up order for steps
LuqiPan 0ff4c16
ci: add a step to verify contracts started onchain
LuqiPan 8c72f7c
Merge branch 'main' into integration-test
LuqiPan a7a892c
ci: add additional tests for other contracts
LuqiPan a2dd60e
ci: bump timeout to 300 seconds
LuqiPan f87dc02
ci: remove bogus curl line for testing
LuqiPan 9ec5ef4
ci: remove test for swaparoo for now
LuqiPan 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 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
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.
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.
Here's hoping we can test that the contracts actually got started.
One way is:
but that presumes the
agoric
CLI is available; I'm not sure that's the case.agoric follow -lF ...
is just an HTTP GET, so it can be done withcurl
too.I'm working on running the tests for contract functionality in an end-to-end context too. But we're not quite there yet.
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.
We do now! Jim's slides this morning gave me an idea and we're testing that. Though I don't know why the CI couldn't see
swaparoo
contract onchain. The other 2 contracts are available on based on the curl response.Ref: https://github.com/Agoric/dapp-agoric-basics/actions/runs/8332287701/job/22801091735?pr=24
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.
nice!
very strange. it's certainly in the ci log:
[\\\\\\\"sellConcertTickets\\\\\\\",\\\\\\\"$23.Alleged: InstanceHandle\\\\\\\"]
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.
It could grep
sellConcertTickets
andpostalService
, but notswaparoo
I tried to
CTRL+F
on the blob and I couldn't findswaparoo
in the data blob. Do we need to wait for some time before curling and greping?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.
oic. I was reading too quickly.
I'm not sure what's up with swaparoo there. But the way it's deployed changes significantly with the addition of governance (#21) so I'm not inclined to worry about it now.