Skip to content

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

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

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

Triggered via pull request December 17, 2024 20:58
Status Failure
Total duration 3m 45s
Artifacts

build.yml

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

Annotations

10 errors and 2 warnings
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L49
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:49:42)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L53
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:53:42)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L57
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:57:42)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L81
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:81:40)
Build, lint, and test on Node.js 20
Process completed with exit code 1.
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L49
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:49:42)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L53
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:53:42)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L57
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:57:42)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L81
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:81:40)
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
Build, lint, and test on Node.js 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636