mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-23 07:07:56 +01:00
b804403c42
Improve testing flow and docs * update snapshots * update snapshots * update snapshots * Add docker run instructions * Hide image snapshot execution behind an env flag * Simplify package.json scripts and improve docs * Merge 'origin/develop' into feature/tests-and-docs * Update snapshots * Add wait to container test * Update snapshot Approved-by: Paulo Veiga
1.0 KiB
1.0 KiB
Thanks for your interest in contributing to wisemapping!
Hopefully this document will be improved over time and get to be a complete CONTRIBUTING document.
Sending a Pull Request
- Create a new branch from
develop
. Convention for branch names isfeature/*
orbugfix/*
. Eg.feature/add-contributing-docs
. - Make your changes and test them.
- Run quality checks:
yarn build
yarn lint
yarn test
- Push your changes, and check that the pipeline result is OK.
- If the pipeline failed, spot the issue and fix it.
- If the failure is while running the tests and some snapshot is not matching:
- you can check the difference by downloading the artifacts from the pipeline
- Please check out README.md section on Image Snapshot Testing
- update snapshots with
docker-compose -f docker-compose.snapshots.update.yml up
and then push any image changes
- Create the pull request