Skip to content
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 sapphire-localnet for backend tests #15

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

matevz
Copy link
Member

@matevz matevz commented May 24, 2024

Adds sapphire-localnet service to the CI on top of the default hardhat node to test the backend.

@matevz matevz force-pushed the matevz/add-sapphire-localnet-ci branch from 6d9103a to d61d047 Compare May 24, 2024 10:45
@matevz matevz requested a review from aefhm May 24, 2024 15:11

- name: Test backend
working-directory: backend
run: pnpm test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want this one as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since sapphire-localnet is not as fast as hardhat node, I usually only test Sapphire-dependent functions with it. The remainder is still tested using hardhat node.

@matevz matevz force-pushed the matevz/add-sapphire-localnet-ci branch from d61d047 to 92730e1 Compare June 18, 2024 10:21
@matevz matevz merged commit 34c7fbe into main Jun 18, 2024
3 checks passed
@matevz matevz deleted the matevz/add-sapphire-localnet-ci branch June 18, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants