Commit graph

80 commits

Author SHA1 Message Date
Antonio Anaya
f85a46c1f8 ui_migration setup(CI) Add npm run lint:test to CI 2026-05-19 00:27:00 -06:00
Antonio Anaya
fb15178512 ui_migration feature(vitest) add all vue files to vitest coverage reporter 2026-05-15 22:16:21 -06:00
Antonio Anaya
a5fc9c65dc Apply suggestions from code review of branch webapp_unit_testing
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-05-15 23:27:17 +00:00
Antonio Anaya
d75051df4a ui_migration node(pack) add test:unit command 2026-05-15 17:08:09 -06:00
Antonio Anaya
4a9693df31 Apply suggestions from code review of branch build/style-lint-fix-purge
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-05-09 00:54:59 -06:00
Antonio Anaya
caf2157c04 ui_migration build(ci) added package and ci commands for stylelint --max-warnings=0 and --fix 2026-05-09 00:54:59 -06:00
Antonio Anaya
6ebc2c1f4b ui_migration feat(npm) node version 20 for ci and package.json 2026-04-22 23:38:08 -06:00
Julian Stirling
8d3965dcff Always build dev docs 2026-03-01 12:16:07 +00:00
Julian Stirling
5e511bf2e2 Apply suggestions from code review of branch better-spellchecking
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-02-23 09:42:27 +00:00
Julian Stirling
66b4a06e87 Add spellchecking for camelCase, PascalCase, and kebab-case 2026-02-22 11:02:59 +00:00
Julian Stirling
dcc73c248a Remove commented gitlab-code-quality dep and use in CI 2026-02-16 00:01:02 +00:00
Julian Stirling
7cce823bd1 Show both http and python api on pages 2026-02-12 16:36:55 +00:00
Julian Stirling
7e9637e496 Run new integration suite in CI 2026-01-12 16:23:10 +00:00
Julian Stirling
c9ac85bffc Rename the test that fully boots the server to lifecycle_test 2026-01-12 16:23:09 +00:00
Julian Stirling
5d25067a21 Update CI to fail if MyPy fails but to still give code quality report 2026-01-09 15:18:06 +00:00
Julian Stirling
782977e01c Move integration tests to tests dir 2025-12-18 17:30:56 +00:00
Julian Stirling
7ea5c74626 Remove --openssl-legacy-provider node option 2025-11-03 11:33:35 +00:00
Julian Stirling
3227c0cddf Remove ruff-increased-checking.toml as all checker are now on! 2025-09-18 16:21:45 +01:00
Beth Probert
c9d452932d Update gitlab ci file 2025-08-13 15:18:15 +00:00
Julian Stirling
d9db73a8d9 Fix coverage combination when other sources are removed 2025-07-30 15:12:21 +01:00
Julian Stirling
727d683c48 Add zip of picamera coverage and update CI to use it 2025-07-29 18:21:20 +01:00
Julian Stirling
756affa3aa Remove zenodo scripts and job 2025-07-29 10:15:40 +01:00
Julian Stirling
225ee5bb82 Tweak CI script to have a Git name and email as this is now needed for unit testing. 2025-07-14 17:11:53 +01:00
Julian Stirling
7e6017f648 Get codespell passing and add it as a CI job. 2025-07-11 00:16:25 +01:00
Julian Stirling
12df8c9072 Add extra options to Pydoctor CI command 2025-07-10 10:07:33 +01:00
Julian Stirling
dceb640c77 Add documentation job to the CI. 2025-07-10 09:24:49 +01:00
Julian Stirling
177cb2eef7 Stop allowing integration tests to fail now graceful exit works 2025-07-09 16:53:35 +01:00
Julian Stirling
190766cd1c Add CI job for integration tests 2025-07-09 13:59:16 +01:00
Julian Stirling
8b29ddaf4f Fix artifact path in CI for webapp 2025-07-06 20:49:00 +01:00
Julian Stirling
7fdb5f37ba Apply 4 suggestion(s) to 3 file(s)
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-09 12:08:25 +00:00
Julian Stirling
c79184a6d9 Use same version number for server and webapp, add CI check
- Check webapp and server have same version number
- Use `genversion` on build to create javascript file with version string
from pyproject.toml
- Expose the version number in the js interface
- Correct format of current of alpha version string because javascript complains

Closes #382
2025-06-09 12:13:15 +01:00
Julian Stirling
deeb164f29 Change from building with node 15 (end of life 2021) to node 18 (just gone EOL, but used on the Pi) 2025-06-05 11:16:53 +00:00
Julian Stirling
7665d45e09 Make the coverage report touch all files 2025-04-11 23:29:32 +01:00
Julian Stirling
e4cfcc76a7 Add some extra rules to ruff, also add a more complete ruff config that fails
Over time we can enable more rules for `ruff check`
2025-04-11 11:56:55 +01:00
Julian Stirling
32f2a7ce70 Fix spurious line endings, don't allow ruff-format to fail anymore 2025-04-02 14:25:22 +01:00
Julian Stirling
336b504377 Split up ruff format and lint allowing format to fail 2025-04-02 13:39:12 +01:00
Richard Bowman
1d59cddac1 Disable pytest code quality report
Code quality report plugin clashes with the version of pytest specced in labthings.

If we resolve this upstream, we can re-enable it.
2024-12-03 14:19:36 +00:00
Richard Bowman
c3cd30b642 Only rebuild docker for changes
Docker is now only rebuilt when it's changed, and on `v3`  branch.

I've also added code quality reporting for pytest.
2024-12-03 12:54:34 +00:00
Richard Bowman
71e6d84aa4 Build docker image and run ruff/pytest 2024-12-03 12:18:45 +00:00
Richard Bowman
35db80121a Update build output location
This now places the static web app in the correct location for the v3 back-end code.
2024-01-03 20:50:33 +00:00
Richard Bowman
7abdbdde4a Add full list of server prerequisites
The server needs various packages installed on
the system. This list is lifted from the SD card
builder repository.
2023-04-06 21:27:51 +01:00
Richard Bowman
a95baee25f Fix lxml and update README
lxml requires an apt-installed package to work.
I've also mentioned in README that Pipfile
is now pi-specific.
2023-04-06 16:03:20 +01:00
Richard Bowman
d0aad6633c Redo CI to run on armv6
I've refactored the CI substantially, using the
new `extends` keyword to tidy it up a lot.
I have also changed from running the Python
tests on Python:3.7 to using a Raspberry Pi
OS from the Balena project.

This means we are now ONLY locking
dependencies for the Pi, and we are no longer
expecting the Pipfile to work on non-arm
systems.
2023-04-06 15:20:48 +01:00
Richard Bowman
9b7fba55b6 Update CI script to new syntax 2022-08-08 22:22:55 +01:00
Richard
e26331f2ba Disable sandbox - it works! 2021-09-28 10:56:53 +01:00
Richard
c19ff84344 Fix CI configuration 2021-09-28 10:24:02 +01:00
Richard
a0788ac333 Added automatic upload of tags to Zenodo.
Co-authored-by: Kaspar Emanuel <kaspar@monostable.co.uk>
2021-09-28 10:20:39 +01:00
Richard Bowman
a611d4f5ce Deploy OpenAPI description properly 2021-09-21 14:04:08 +01:00
Kaspar Emanuel
b2eb1e0f05 Rename js directory to webapp 2021-09-16 15:13:19 +01:00
Richard
375bcf4e73 fix typo in artifact path 2021-09-16 15:13:19 +01:00