Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.99 KB

AddATestApp.md

File metadata and controls

24 lines (20 loc) · 1.99 KB

#2 Add a test app to an existing project

Prerequisites: A completed scenario 1

  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 Run Workflow
  2. When the workflow is done, navigate to Pull Requests, inspect the PR and Merge the pull request Pull Request
  3. Under Actions, you will see that a Merge pull request CI workflow has been kicked off Workflows
  4. If you wait for the workflow to complete, you will see that it fails. Fail
  5. Inspecting the build, you can see the details of the error. Test failure
  6. 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. Bug fix
  7. 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. CI Workflow
  8. 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. Success

back