wisemapping-frontend/CONTRIBUTING.md
Matias Arriola b804403c42 Merged in feature/tests-and-docs (pull request #9)
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
2021-12-17 02:13:54 +00:00

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

  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 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