This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jonwaldstein
approved these changes
Nov 1, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@glaubersilva great work!
I updated this PR to:
- Re-arrange the order of the steps slightly so that we're checking out both the repositories first
- Added a step to setup node and run the build process - I found this was needed for feature tests.
- Updated any failing unit Tests
At this point i'll move the workflow yml file into our github actions repo and then just reference it here.
jonwaldstein
changed the title
Feature: add tests workflow
Tests: add unit test workflow
Nov 1, 2022
@jonwaldstein Great! Glad to see it working. =) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #73
Description
This PR implements a workflow to automatically run the PHPUnit tests of the add-on.
For now, the tests aren't passing because one is failing in every scenario and others are failing just with PHP 8.
So, for a temporary test, I edited the test that is failing in all scenarios just to check how the workflow will work.
And here is the result: https://github.com/impress-org/givewp-next-gen/actions/runs/3297201959/jobs/5437950344
Affects
The "push" and "pull request" operations for this repository.
Visuals
Testing Instructions
Just push something (or open a pull request like this) to the
develop
ormaster
branchesPre-review Checklist
@unreleased
tags included in DocBlocks