Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add manually triggered CI test suite #1688

Merged
merged 1 commit into from
May 16, 2023

Conversation

builditben
Copy link
Contributor

@builditben builditben commented May 10, 2023

To validate the state of a particular branch, it is helpful to be able to trigger just the automated tests for that branch.

This PR adds a CI workflow to run automated tests on demand.

This adds some duplication but well worth it for a quick way to sense-check main with minimal faff.

@builditben builditben marked this pull request as ready for review May 10, 2023 10:26
@builditben builditben requested a review from a team May 10, 2023 10:27
@github-actions
Copy link

github-actions bot commented May 10, 2023

Removed vultr server and associated DNS entries

@github-actions
Copy link

Lighthouse

buckinhamshire/FOIYNPP testing/canary
performance 0.24 - 0.25 = -0.01 0.37 - 0.36 = 0.01
accessibility 1 - 1 = 0.00 1 - 1 = 0.00
best-practices 1 - 1 = 0.00 0.83 - 0.92 = -0.09
seo 0.88 - 0.89 = -0.01 0.89 - 0.92 = -0.03
pwa 0.7 - 0.7 = 0.00 0.7 - 0.7 = 0.00

@builditben
Copy link
Contributor Author

Next steps after this is merged is to revive #1496 and break down these steps into reusable workflows.

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.PIZZA_AWS_ACCESS_KEY_ID }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will these PIZZA_ variables actually work if this is triggered on the main branch do you think? Just thinking about recent scenarios of broken Notify templates where it'd be convenient to check/compare state of main, not a local PR branch?

testing actions is tricky though so happy for this to merge & fix forward if needed 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't specific to a Vultr deployment but general AWS keys. I was aiming to change as little as possible to make future de-duping easier later and I think this should work 🤞

@builditben builditben merged commit 7116a4d into main May 16, 2023
@builditben builditben deleted the ben/add-triggerable-test-suite branch May 16, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants