IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

fix: test actions #2278

Closed chrismclarke closed 3 months ago

chrismclarke commented 3 months ago

PR Checklist

Description

Review notes

Example test-preview action pass Example test-visual action pass

Author notes

I've removed the functionality for automated actions based on this repo deployment/[name] branches - as I'm assuming all content is now managed in content repos (?). If that is the case we may also want to remove the deployment and deployment_dev branches from this repo as a follow-up

Dev Notes

I had originally planned to try use the current set of reusable actions, essentially triggering them as part of the builder repo (and loading debug content repo), although it made things a little more complicated than I was hoping for so ended up simply refactoring the existing actions - so we still have 2 separate systems in place, one for actions related just to the builder repo and another for reusable actions triggered by content repos.

I did at least manage to remove what was essentially a third system, whereby actions could be triggered against deployment branches. I've also tried to keep it fairly similar to how variables are set on deployment repos, with the following secrets and variables currently set in a debug environment for this repo

image

Git Issues

Closes #

Screenshots/Videos

If useful, provide screenshot or capture to highlight main changes

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit bf79c59):

https://plh-teens-app1--pr2278-refactor-debug-gh-ac-ks5yns8p.web.app

(expires Fri, 19 Apr 2024 12:02:22 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e4c0bab6b08dd290fbf002fd6e07987fa4b5fce1

github-actions[bot] commented 3 months ago

Visual Test Summary new : 0 different : 4 same : 332

Largest Differences 1 | 0.4 % | user_actions 2 | 0.2 % | example_calc_date 3 | 0.1 % | example_calc 4 | 0 % | feature_parent_point_box

Download Link https://nightly.link/IDEMSInternational/parenting-app-ui/actions/runs/8569391129

Run Details https://github.com/IDEMSInternational/parenting-app-ui/actions/runs/8569391129