Skip to content

Commit 373b038

Browse files
authored
Update to BuildGrammar 2.1.0 (#1239)
- Adds current tests to /Tools/GrammarTesting - Adds testing framework tarball to /.github/workflows/dependencies - Updates BuildGrammar nupkg to 2.1.0 - Updates grammar-validator.yaml & validate-grammar.sh Co-authored-by: Nigel-Ecma <[email protected]>
1 parent 41d1a00 commit 373b038

20 files changed

+85908
-9
lines changed
Binary file not shown.

.github/workflows/grammar-validator.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
dotnet-version: 8.0.x
2828

2929
- name: Set up JDK 15
30-
uses: actions/setup-java@v1
30+
uses: actions/setup-java@v2
3131
with:
3232
java-version: 15.0
33+
distribution: zulu
3334

3435
# Install build grammar global tool
3536
- name: Install BuildGrammar tool
3637
run: |
37-
dotnet tool install --version 2.0.0 --global --add-source ./.github/workflows/dependencies/ EcmaTC49.BuildGrammar
38-
38+
dotnet tool install --version 2.1.0 --global --add-source ./.github/workflows/dependencies/ EcmaTC49.BuildGrammar
3939
4040
- name: run validate
4141
run: |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Parsing Tests
2+
3+
There are two sets of tests. The standard set, in `Samples`, test whether the Standard’s
4+
grammar is producing the expected parse.
5+
6+
The second set, in `Demo`, exist to demonstrate the system and are run when `SetupAndTest`
7+
or `DoParsingTests` are passed the `-d` option.
8+
9+
If `Demo` is not here it will be in the environment parallel which can be located using the
10+
environment variable `BG_LIB_PARSINGTESTS`.

0 commit comments

Comments
 (0)