mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +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
20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
Thanks for your interest in contributing to wisemapping!
|
|
|
|
Hopefully this document will be improved over time and get to be a [complete CONTRIBUTING document](https://mozillascience.github.io/working-open-workshop/contributing/).
|
|
|
|
# Sending a Pull Request
|
|
|
|
1. Create a new branch from `develop`. Convention for branch names is `feature/*` or `bugfix/*`. Eg. `feature/add-contributing-docs`.
|
|
2. Make your changes and test them.
|
|
3. Run quality checks:
|
|
- `yarn build`
|
|
- `yarn lint`
|
|
- `yarn test`
|
|
4. 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](./README.md#Image-Snapshot-Testing) section on Image Snapshot Testing
|
|
- update snapshots with `docker-compose -f docker-compose.snapshots.update.yml up` and then push any image changes
|
|
5. Create the pull request
|