Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New karma tests suite #126

Merged
merged 18 commits into from
Mar 9, 2022
Merged

New karma tests suite #126

merged 18 commits into from
Mar 9, 2022

Conversation

kalwalt
Copy link
Member

@kalwalt kalwalt commented Mar 7, 2022

As mentioned in this issue #122 i'm testing Qunit with Karma. I think i will add only a basic implementation for now and then maybe also adding to actions github.

Issues

i need to add a full path for the camera_para.dat resource instead of:
"./camera_para.dat"
i need to change to:
"./base/tests/camera_para.dat";
I will ask in the karma or qunit issues to know what i'm doing wrong.

@kalwalt kalwalt added enhancement New feature or request tests labels Mar 7, 2022
@kalwalt kalwalt self-assigned this Mar 7, 2022
@kalwalt
Copy link
Member Author

kalwalt commented Mar 9, 2022

The CI action fails to make the test because:

key: Linux-npm-5d31f7d7bcd3af2e8b82a4cf4dce74189d9cc2f828919370e25d735311741353
Cache not found for input keys: Linux-npm-5d31f7d7bcd3af2e8b82a4cf4dce74189d9cc2f828919370e25d735311741353

maybe the actions/cache need a different setup.
See https://github.com/actions/cache/blob/main/examples.md#node---npm

POST EDIT: This wasn't the issue. The reason was in karma.conf.js file singleRun: false, option made to not exit the application and that's why action github was waiting forever (see #126 (comment)). So the cache message is correct.

karma.conf.js Show resolved Hide resolved
@kalwalt kalwalt merged commit 123aca9 into dev Mar 9, 2022
@kalwalt kalwalt deleted the improving-qunit-tests branch March 22, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant