pinpox
f308ef7e8d
fix: use custom git config in impure-checks to avoid system dependency
2025-06-20 10:40:32 +02:00
Jörg Thalheim
6703473152
impure-checks: limit number of workers to number of tests
2025-04-16 15:05:59 +02:00
Johannes Kirschbauer
de587648f8
chore(clan/pytest): discover all test files in the tree
2025-04-09 18:54:57 +02:00
Johannes Kirschbauer
e9846d6cb9
Tests: reconfigure pytest test folder after moving it into clan_cli
2025-04-08 20:13:13 +02:00
Jörg Thalheim
c046ea6e17
run tests less verbose in CI
2024-11-26 14:38:59 +01:00
DavHau
0e335f7ecc
impure-checks: improve performance by disabling dynamic deps
2024-07-16 12:42:45 +07:00
a-kenji
4ee90b4b9f
impure-checks: unset CLAN_DIR
...
Unset `CLAN_DIR` in the impure checks, so that it won't reference the
users configuration.
Fixes #1419
2024-05-24 12:03:11 +02:00
Jörg Thalheim
e296a3019d
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Qubasa
f7c6ab5888
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Jörg Thalheim
32ec520fa5
drop runSchemaTests/runMockApi from checks
2024-01-11 17:53:06 +01:00
DavHau
17390fc392
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
DavHau
c29e0086a4
VMs: persist state folders on host
...
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders
TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
Qubasa
cb06353451
pytest: Removed -s flag for CI
2023-12-26 18:20:41 +01:00
Qubasa
48f0381fb5
schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue
2023-11-20 17:14:12 +01:00
DavHau
2a6e329e40
api/schema: get schema without having a machine
...
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
Qubasa
7240727b26
Added deal contract framework and testing documentation
2023-11-08 19:56:07 +01:00
lassulus
89b7ffce6c
clan-cli secrets upload: secrets are populated into tmpdir
2023-09-29 20:05:35 +02:00
DavHau
9825c179a8
impure-tests: migrate bash to pytest and fix stuff
2023-09-22 18:32:28 +02:00
lassulus
17520e2553
fix impure tests
2023-09-21 18:29:18 +02:00
Jörg Thalheim
18c360f729
make all pytest dependencies also available to impure tests
2023-09-21 17:25:32 +02:00
DavHau
0ee6de86af
checks: run impure pytest tests in CI pipeline
2023-09-19 16:46:46 +02:00
Jörg Thalheim
618fb4b8a7
impureTest: add clan to $PATH for debugging
2023-09-03 15:17:28 +02:00
DavHau
a0d1b09b1d
clanCore module: add clanSchema top level option
2023-09-02 18:28:31 +02:00
DavHau
414033392e
new-clan: update template and add test
2023-09-02 16:12:37 +02:00
Jörg Thalheim
c9adf12e72
reduce impure tests to just instantiate the template
2023-08-27 10:11:45 +02:00