You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/containers/unit-testing/tsqlt-docker/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ This sample describes how to automate the testing for one or more SQL Server obj
9
9
10
10
[About this sample](#about-this-sample)<br/>
11
11
[Before you begin](#before-you-begin)<br/>
12
+
[Case history](#case-history)<br/>
12
13
[Run this sample](#run-this-sample)<br/>
13
14
[Sample details](#sample-details)<br/>
14
15
[Disclaimers](#disclaimers)<br/>
@@ -38,8 +39,7 @@ To run this example, the following basic concepts are required.
38
39
39
40
**Software prerequisites:**
40
41
41
-
1. GitHub account. If you don't already have a GitHub account, you can get one for free [here](https://github.com/signup)!
42
-
2. GitHub sample repository
42
+
1. A GitHub account. If you don't already have a GitHub account, you can get one for free [here](https://github.com/signup)!
43
43
44
44
<aname=case-history></a>
45
45
@@ -55,10 +55,10 @@ The trigger we have wrote is to prevent the insertion of new products with value
55
55
56
56
<!-- Step by step instructions -->
57
57
58
-
1. If you don't already have one, [sign up for a new GitHub account](https://docs.github.com/get-started/signing-up-for-github/signing-up-for-a-new-github-account)
58
+
1.[Sign in](https://github.com/login) to GitHub. If you don't already have an account, [sign up for a new GitHub account](https://docs.github.com/get-started/signing-up-for-github/signing-up-for-a-new-github-account)
59
59
2. Create your sample repository on GitHub, if you've never done it, you can find the guide [here](https://docs.github.com/get-started/quickstart/create-a-repo)
60
60
3. Create a `.github/workflows` directory in your GitHub repository if this directory does not already exist
61
-
4. Copy the `automated-tests.yml` inside the directory `.github/workflows` you created in the previous step. The `automated-tests.yml` describes the process that will execute one or more jobs
61
+
4. Copy the automated-tests.yml inside the directory `.github/workflows` you created in the previous step. The `automated-tests.yml` describes the process that will execute one or more jobs
62
62
5. Create the `source` and `unit-test` directories in the root of your sample repository
63
63
6. Copy all the files located in the source and unit-test directories to their respective directories in your repository
64
64
7. View and run the workflow as described [here](https://docs.github.com/actions/quickstart)
@@ -70,11 +70,11 @@ The implementation of the trigger and related unit tests has been done, all file
70
70
71
71
The challenge is to automate the execution of the tests at each commit on the main branch of the repository. GitHub Actions is our CI/CD platform, it supports the use of Docker containers and it is intimately integrated into GitHub, the source control that manages our source code.
72
72
73
-
**Create your first workflow**
73
+
**Understand and manage your first workflow**
74
74
75
75
Workflows are defined with a YAML file stored in the same repository which holds the source code. The workflows will be triggered when an event occurs in the repository. Anyway, a workflow can also be activated manually or according to a defined schedule.
76
76
77
-
A sample YAML file that implements the test automation workflow is available here, the fundamental steps are:
77
+
A sample YAML file that implements the test automation workflow is already in your sample repository, the fundamental steps of the process are:
78
78
79
79
1. Definition of activation events
80
80
2. Creating a Docker container from a SQL Server image on Linux
0 commit comments