https://github.com/rasben/action-drupal-regression
GitHub Action that uses reload/drupal-regression Drupal Module.
https://github.com/rasben/action-drupal-regression
Last synced: 3 months ago
JSON representation
GitHub Action that uses reload/drupal-regression Drupal Module.
- Host: GitHub
- URL: https://github.com/rasben/action-drupal-regression
- Owner: rasben
- Created: 2022-06-20T13:47:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T11:25:09.000Z (over 2 years ago)
- Last Synced: 2024-03-15T15:21:34.674Z (about 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# action-drupal-regression
GitHub action to be used in tandem with reload/drupal-regression Drupal Module, to automatically check PRs if the Drupal DOM has changed on entities.
Basically a HTML/text-based alternative to backstopJS.
See https://github.com/rasben/drupal-regression for the required Drupal Module.
## Using the action
You can either use the action alone, or use the full workflow, which sets relevant comments/action statuses.
Example setup: https://github.com/reload/storypal/blob/main/.github/workflows/drupal-regression.yml
## Testing locally:
- Have python3 + pip3 installed
- `pip3 install install wheel colorama requests validators pytidylib`
- `python3 compare.py --url=https://some-remote-api-url.com`If you want to test with the exact, markdown output that GitHub Action uses:
- `python3 compare.py --url=https://some-remote-api-url.com --workdir=drupal-regression --markdown=True --verbose=True`