@@ -28,17 +28,18 @@ including links to the lines of source code on GitHub when possible:
2828<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
2929** Table of Contents**
3030
31- - [ Creating your own course] ( #creating-your-own-course )
32- - [ Creating the Query Checking Action] ( #creating-the-query-checking-action )
33- - [ Testing the action] ( #testing-the-action )
34- - [ Adding new queries & calculating the contents for the CSV files] ( #adding-new-queries--calculating-the-contents-for-the-csv-files )
35- - [ Publishing your action] ( #publishing-your-action )
36- - [ Contributing your GitHub Action to this repository] ( #contributing-your-github-action-to-this-repository )
37- - [ Creating the Learning Lab Course] ( #creating-the-learning-lab-course )
38- - [ Example Courses] ( #example-courses )
39- - [ Contributing] ( #contributing )
40- - [ Releasing new versions or updating dependencies] ( #releasing-new-versions-or-updating-dependencies )
41- - [ License] ( #license )
31+ - [ Actions for Learning Lab CodeQL Courses] ( #actions-for-learning-lab-codeql-courses )
32+ - [ Creating your own course] ( #creating-your-own-course )
33+ - [ Creating the Query Checking Action] ( #creating-the-query-checking-action )
34+ - [ Testing the action] ( #testing-the-action )
35+ - [ Adding new queries & calculating the contents for the CSV files] ( #adding-new-queries--calculating-the-contents-for-the-csv-files )
36+ - [ Publishing your action] ( #publishing-your-action )
37+ - [ Contributing your GitHub Action to this repository] ( #contributing-your-github-action-to-this-repository )
38+ - [ Creating the Learning Lab Course] ( #creating-the-learning-lab-course )
39+ - [ Example Courses] ( #example-courses )
40+ - [ Contributing] ( #contributing )
41+ - [ Releasing new versions or updating dependencies] ( #releasing-new-versions-or-updating-dependencies )
42+ - [ License] ( #license )
4243
4344<!-- END doctoc generated TOC please keep comment here to allow auto update -->
4445
@@ -197,16 +198,21 @@ To test a course locally,
197198from the course directory,
198199run either of these scripts :
199200
200- * [`scripts/test-course-actual.sh`](scripts/test-course-only .sh):
201+ * [`scripts/test-course-actual.sh`](scripts/test-course-actual .sh):
201202 which will download and use the specific version of `codeql-learninglab-check`
202203 that is specified in `Dockerfile`
203- * [`scripts/test-course.sh`](scripts/test-course.sh):
204+ * [`scripts/test-course-latest .sh`](scripts/test-course-latest .sh):
204205 Which will also build the `codeql-learninglab-check` image locally,
205206 and tag it with the expected base image of the course,
206207 allowing you to test how changes to the `codeql-learninglab-check`
207208 affect this specific course,
208209 without publishing any new images.
209210
211+ Both scripts take as argument an **optional** regexp string.
212+ If this string is passed, only the queries
213+ with names matching the regexp will be run.
214+ Otherwise all queries are run.
215+
210216**In GitHub Actions:**
211217
212218If adding a course to this repository,
0 commit comments