Prerequisites: A completed "Create a new per-tenant extension (like AL Go) and start developing in VS Code" scenario
-
On github.com, open Actions on your solution, locate and select Create a new test app and then choose Run workflow. Enter values for name, publisher, and ID range and choose Run workflow
-
If you receive an error, stating that GitHub actions are not allowed to create Pull Requests, the reason for this is that your organizational settings doesn't allow the workflow to create pull requests, you can click the link and proceed to create the pull request manually:
-
If you got this error, you can change that behavior under Organization -> Settings -> Actions -> General -> Workflow permissions -> Check Allow GitHub Actions to create and approve pull requests.
-
When the workflow is done, navigate to Pull Requests, inspect the PR, Merge the pull request and Confirm the merge
-
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.









