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

use barge instead of ganache #855

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Jun 22, 2021

For consistency, let's use barge for unit tests as well
You can say that it's over engineered, but if we need to change the mnemonic, or activate/deactivate EIPS, we are going to do that in one repo (barge)

@alexcos20 alexcos20 self-assigned this Jun 22, 2021
@kremalicious
Copy link
Contributor

kremalicious commented Jun 22, 2021

please no. Please keep them separated so we do not wait for ages for every test. There is a reason I split them up and NOT using barge for the unit tests. If you need more than ganache for a test, it's an integration test.

The mnemonic has not changed in 4 years...

@alexcos20
Copy link
Member Author

instead of running ganache:latest with some extra param, we run barge with ganache and without aqua/provider/es, etc..

@kremalicious
Copy link
Contributor

alright, so Ganache with Barge starts up faster than Ganache directly from DockerHub so let's go with that

@alexcos20 alexcos20 merged commit 152ba1f into feature/github-actions Jun 22, 2021
@alexcos20 alexcos20 deleted the feature/barge_for_unit_tests branch June 22, 2021 09:49
kremalicious added a commit that referenced this pull request Jun 22, 2021
* GitHub CI actions

* add coverage job

* test run tweaks

* windows build fix

* barge tweaks

* deal with env vars

* add npm publish job

* trial & error

* remove Travis

* publish as single workflow

* handle Docker Hub login

* maybe preparing ~/.ocean is needed

* downgrade barge contracts, run with barge defaults

* put back ADDRESS_FILE env var

* AQUARIUS_URI test

* ddo creation test logging

* make failing DDO creation test actually fail

* separate unit/integration Asset tests

* set AQUARIUS_URI again

* readme updates

* prepare ~/.ocean folder

* separate tests into multiple jobs

* address.json debugging

* windows build fixes

* address.json trials

* env var expansion workaround

* cleanup

* debug coverage output

* fix coverage

* bump codeclimate-action

* use barge instead of ganache (#855)

* use barge instead of ganache

* small unit test job cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>

* barge detach workaround

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
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