Skip to content

Commit

Permalink
Update e2e tests to new manifest locations
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr authored Oct 18, 2023
1 parent 9d39416 commit 5783b8a
Show file tree
Hide file tree
Showing 4 changed files with 1,804 additions and 1,390 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- run: yarn run lint

test:
env:
CI: true
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -25,6 +27,7 @@ jobs:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"devDependencies": {
"@comunica/actor-http-proxy": "^2.6.9",
"@comunica/query-sparql": "^2.6.9",
"@comunica/query-sparql": "^2.9.0",
"@types/jest": "^29.0.0",
"coveralls": "^3.0.0",
"jest": "^29.0.0",
Expand Down
15 changes: 11 additions & 4 deletions test/e2e-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ import * as fs from 'fs';
if (!fs.existsSync(path.join(__dirname, 'cache')))
fs.mkdirSync(path.join(__dirname, 'cache'))

if (process.env.CI) {
jest.retryTimes(3);
}

describe('e2e tests on the test suite runner', () => {
const parsingSpecs = [
"http://w3c.github.io/rdf-tests/ntriples/manifest.ttl",
"http://w3c.github.io/rdf-tests/nquads/manifest.ttl",
"http://w3c.github.io/rdf-tests/turtle/manifest.ttl",
"http://w3c.github.io/rdf-tests/trig/manifest.ttl",
// TODO: Use this rather than explicitly listing the included manifests
// this requires supporting the RDF-MT and RDF/XML test suite
// "https://w3c.github.io/rdf-tests/rdf/rdf11/manifest.ttl",
"https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-triples/manifest.ttl",
"https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-quads/manifest.ttl",
"https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-turtle/manifest.ttl",
"https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-trig/manifest.ttl",
"https://w3c.github.io/json-ld-api/tests/toRdf-manifest.jsonld",
"https://w3c.github.io/json-ld-streaming/tests/stream-toRdf-manifest.jsonld",

Expand Down
Loading

0 comments on commit 5783b8a

Please sign in to comment.