Skip to content

Generate citation strings from citation.cff file as part of build process #1769

Generate citation strings from citation.cff file as part of build process

Generate citation strings from citation.cff file as part of build process #1769

Triggered via pull request December 9, 2024 16:59
Status Failure
Total duration 3m 45s
Artifacts

build.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L35
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:35:40)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L39
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:39:40)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L43
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:43:40)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L67
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:67:38)
Build, lint, and test on Node.js 20
Process completed with exit code 1.
Build, lint, and test on Node.js 18
The job was canceled because "_20" failed.
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L35
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:35:40)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L39
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:39:40)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L43
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:43:40)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L67
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:67:38)
Build, lint, and test on Node.js 18
Process completed with exit code 1.
Build, lint, and test on Node.js 20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636