diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml new file mode 100644 index 00000000..2641a6ad --- /dev/null +++ b/.github/workflows/generate.yml @@ -0,0 +1,33 @@ +name: Automatic Report and Test Manifest Generation +on: + push: + branches: [main] + paths: ["reports/**", "tests/**"] + pull_request: + branches: [ main ] + paths: ["reports/**", "tests/**"] + +jobs: + build: + name: Generate Reports using Ruby + runs-on: ubuntu-latest + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. + contents: write + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.2.2 + - name: Install dependencies + run: bundle install + - name: Generate Test Manifests + run: (cd tests; bundle exec rake) + #- name: Generate Report + # run: (cd reports; rake) + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Automated report generation + commit_user_name: Report generation bot + commit_user_email: <> + diff --git a/Gemfile.lock b/Gemfile.lock index 48c77c34..2717205d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -201,6 +201,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 x86_64-darwin-20 x86_64-linux diff --git a/tests/expand-manifest.html b/tests/expand-manifest.html index 110ba47b..58c5ac2b 100644 --- a/tests/expand-manifest.html +++ b/tests/expand-manifest.html @@ -6004,6 +6004,27 @@

+
+ Test ter56 Invalid redefinition of @context keyword. +
+
+
+
id
+
#ter56
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised when attempting to redefine @context.
+
input
+
+ expand/er56-in.jsonld +
+
expect
+
+ keyword redefinition +
+
+
Test tes01 Using an array value for @context is illegal in JSON-LD 1.0
@@ -9594,6 +9615,34 @@

+
+ Test tpr42 Fail if protected flag not retained during redefinition +
+
+
+
id
+
#tpr42
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Check protected redefinition retains protected flag.
+
input
+
+ expand/pr42-in.jsonld +
+
expect
+
+ protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
Test tso01 @import is invalid in 1.0.
diff --git a/tests/toRdf-manifest.html b/tests/toRdf-manifest.html index ef5c0d86..7dd09f0a 100644 --- a/tests/toRdf-manifest.html +++ b/tests/toRdf-manifest.html @@ -7289,6 +7289,27 @@

+
+ Test ter56 Invalid redefinition of @context keyword. +
+
+
+
id
+
#ter56
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised when attempting to redefine @context.
+
input
+
+ expand/er56-in.jsonld +
+
expect
+
+ keyword redefinition +
+
+
Test tin01 Basic Included array
@@ -11293,6 +11314,34 @@

+
+ Test tpr42 Fail if protected flag not retained during redefinition +
+
+
+
id
+
#tpr42
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Check protected redefinition retains protected flag.
+
input
+
+ toRdf/pr42-in.jsonld +
+
expect
+
+ protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
Test trt01 Representing numbers >= 1e21