#2 Add a test app to an existing project
Prerequisites: A completed scenario 1
- On github.com, open Actions on your solution, select Create a new test app and then choose Run workflow. Enter values for name, publisher, and ID range and choose Run workflow
- When the workflow is done, navigate to Pull Requests, inspect the PR and Merge the pull request
- Under Actions, you will see that a Merge pull request CI workflow has been kicked off
- If you wait for the workflow to complete, you will see that it fails.
- Inspecting the build, you can see the details of the error.
- To fix this, open VS Code, pull changes from the server using the sync button, open the HelloWorld.Test.al file and fix the test message.
- Stage, Commit, and Push the change. On github.com, under Actions you will see that your check-in caused another CI workflow to be kicked off.
- This time it should be passing and if you investigate the CI/CD workflow, you will see that the deploy step has been skipped as no environment existed.