Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit e6e9a21

Browse files
author
Sam Lanning
authored
Merge pull request #17 from github/xcorail-patch-1
Fix wrong test scripts
2 parents 873a522 + af8d518 commit e6e9a21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ To test a course locally,
197197
from the course directory,
198198
run either of these scripts:
199199

200-
* [`scripts/test-course-actual.sh`](scripts/test-course-only.sh):
200+
* [`scripts/test-course-actual.sh`](scripts/test-course-actual.sh):
201201
which will download and use the specific version of `codeql-learninglab-check`
202202
that is specified in `Dockerfile`
203-
* [`scripts/test-course.sh`](scripts/test-course.sh):
203+
* [`scripts/test-course-latest.sh`](scripts/test-course-latest.sh):
204204
Which will also build the `codeql-learninglab-check` image locally,
205205
and tag it with the expected base image of the course,
206206
allowing you to test how changes to the `codeql-learninglab-check`
@@ -216,8 +216,8 @@ Any subsequent pushes to any branch should trigger an Action to run
216216
that will succeed only when all the expected queries produce the right results.
217217

218218
If you are creating a course in another repository,
219-
you can copy the [`scripts/test-course-only.sh`](scripts/test-course-only.sh)
220-
and [`scripts/test-course.sh`](scripts/test-course.sh) files
219+
you can copy the [`scripts/test-course-actual.sh`](scripts/test-course-actual.sh)
220+
and [`scripts/test-course-latest.sh`](scripts/test-course-latest.sh) files
221221
into that repository,
222222
and add a similar workflow file to the one mentioned above.
223223

0 commit comments

Comments
 (0)