run pytest inside an ephemeral NixOS VM; update readme #85
Labels
No Label
Bug
Contributions welcome
Did not do
Duplicate
Feature
Module
Backups
Module
GraphQL
Priority
High
Priority
Low
Priority
Medium
Refactor
Severity
High
Severity
Low
Severity
Medium
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Blocks
#84 redis-huey
SelfPrivacy/selfprivacy-rest-api
Reference: SelfPrivacy/selfprivacy-rest-api#85
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "flake-check-and-readme"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
c82ecbd77c
to86442b18d1
run pytest inside an ephemeral NixOS VM; update readmeto WIP: run pytest inside an ephemeral NixOS VM; update readmeWIP: run pytest inside an ephemeral NixOS VM; update readmeto WIP: run pytest inside an ephemeral NixOS VM; update readmeWIP: run pytest inside an ephemeral NixOS VM; update readmeto run pytest inside an ephemeral NixOS VM; update readmeca2423e751
to849f84466e
@houkime, @inex, please check again. I fixed identified problems.
I will squash commits after approval.
./vm-pytest-shared.sh tests/test_jobs.py fails
Here is the log
run pytest inside an ephemeral NixOS VM; update readmeto WIP: run pytest inside an ephemeral NixOS VM; update readme@houkime, try this command to test whether such way of running tests is possible in your desktop:
This is used internally in the vm script.
NixOS QEMU test driver fails on any non-NixOS installation with the same error message above:
Reported the problem upstream: https://github.com/NixOS/nixpkgs/pull/257535#issuecomment-1912162282.
Currently, we have 3 ways:
(the implication is that additional /nix/store space needed (~250 MiB) for each SP machine, because Nix flake inputs are downloaded unconditionally)
9ea7bd199a
to1ec6be59fd
WIP: run pytest inside an ephemeral NixOS VM; update readmeto run pytest inside an ephemeral NixOS VM; update readme