!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

96 Members
25 Servers

Load older messages


SenderMessageTime
27 Oct 2022
@nbp:mozilla.orgnbp If this is testing using Nix, one thing that is missing (or I am not aware that this was fixed) is that today, Nix needs a special set of environment variables to setup a testing environment.
(see https://github.com/NixOS/nixpkgs/blob/master/lib/tests/release.nix#L20-L34 )
This could be abstracted either with a command-line configuration file for all nix commands, or with a way a new nix tests --init, nix tests run <command running nix tests> or which output the set of environment variables to be used.
15:22:02
@roberthensing:matrix.orgRobert Hensing (roberth)I feel like the always green CI issue has been discussed many times before, but I couldn't find an issue on nixpkgs. A more persistent medium like that may be more productive for this; gather knowledge, coordinating experiments and development.15:26:22
@0x4a6f:matrix.org[0x4A6F] joined the room.15:27:04
@roberthensing:matrix.orgRobert Hensing (roberth) nbp: seems like a valid issue to raise in the nix project 15:28:25
@roberthensing:matrix.orgRobert Hensing (roberth) I don't know if nix tests --init is the right solution, partly because environment variables require a little dance to load into the calling shell 15:29:40
@roberthensing:matrix.orgRobert Hensing (roberth)running Nix inside the sandbox needs better support anyway because of RFC 92, computed derivations15:30:54
@danielbarter:matrix.orgdanielbarter joined the room.15:34:22
@profpatsch:augsburg.oneProfpatsch joined the room.15:42:53
@alejandrosame:matrix.orgalejandrosame joined the room.16:39:43
@infinisil:matrix.orginfinisil joined the room.16:47:21
@jtojnar:matrix.orgJan Tojnar joined the room.17:50:19
@pinage404:matrix.orgpinage404 joined the room.21:50:04
28 Oct 2022
@denna:matrix.orgolaf joined the room.16:21:54
9 Nov 2022
@roberthensing:matrix.orgRobert Hensing (roberth) Would someone like to review testBuildFailure and testEqualContents? https://github.com/NixOS/nixpkgs/pull/196251 12:56:02
16 Nov 2022
@omlet:matrix.orgomlet joined the room.20:34:05
18 Nov 2022
@kraftnix:matrix.orgkraftnix joined the room.17:24:41
26 Nov 2022
@shane:sveller.socialshanesveller joined the room.19:22:50
29 Nov 2022
@raitobezarius:matrix.orgraitobezariusI pushed on 8001336320fba24158a0474e574e5ede1543a6ba to test https://github.com/NixOS/nixpkgs/pull/20364118:35:57
@raitobezarius:matrix.orgraitobezarius on python-test-refactoring for Hydra evaluationb 18:36:06
@raitobezarius:matrix.orgraitobezarius * on python-test-refactoring for Hydra evaluation 18:36:07
@raitobezarius:matrix.orgraitobezariusFWIW18:36:08
1 Dec 2022
@omlet:matrix.orgomlet left the room.16:27:25
2 Jan 2023
@nbp:mozilla.orgnbp changed their display name from nbp to nbp | {pto until 2023-01-11}.09:46:29
11 Jan 2023
@nbp:mozilla.orgnbp changed their display name from nbp | {pto until 2023-01-11} to nbp.10:25:52
23 Feb 2023
@lgcl:lgcl.delgcl (they/them) joined the room.10:41:18
3 Mar 2023
@artturin:matrix.orgArtturin joined the room.19:55:24
16 Mar 2023
@raitobezarius:matrix.orgraitobezarius Heads up, I'm going to push https://hydra.nixos.org/eval/1792001 - 7067edc68c035e21780259ed2d26e1f164addaa2 on python-test-refactoring to prepare an evaluation test for https://github.com/NixOS/nixpkgs/pull/207039 23:40:50
26 Mar 2023
@rbutani:matrix.orgrbutani joined the room.00:21:18
29 Mar 2023
@rhys:memes.nzRhys joined the room.06:06:30
30 Mar 2023
@roberthensing:matrix.orgRobert Hensing (roberth)Does anyone here use cypress in the sandbox? It's a web testing tool not unlike selenium or webdriver, but with a different architecture. I can't maintain the passthru test anymore: https://github.com/NixOS/nixpkgs/pull/22390311:54:04

Show newer messages


Back to Room ListRoom Version: 9