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

Update default.nix #27

Merged
merged 1 commit into from
Aug 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* Nix script used primarily for running tests per one specific Python version
and one specific RobotFramework version.
and one specific Robot Framework version.

For running this script Nix has to be installed on system, the rest of the
dependencies (Python and other dependencies) will be taken care of by Nix itself.

Python packages are supplied by Nix while RobotFramework is fetched from PyPi
Python packages are supplied by Nix while Robot Framework is fetched from PyPi

Running tests:
All arguments are optional, by default latest Python 3.9,
RobotFramework 3.2.2 is used and tests are being run with command `invoke test --in-nix`
Robot Framework 3.2.2 is used and tests are being run with command `invoke test --in-nix`

Example:
$ nix-build --argstr python python39 --argstr rfVersion 3.2.2 --argstr cmd "invoke test --in-nix"
Expand All @@ -18,7 +18,7 @@
without the need to separately install all supported Python versions and/or other dependencies on your own.

Example:
This will drop the user into subshell with latest Python 3.8 and RobotFramework version 3.0.4,
This will drop the user into subshell with latest Python 3.8 and Robot Framework version 3.0.4,
ready to run tests or your favorite editor out of it (so it is running in correct environment)
$ nix-shell --argstr python python38 --argstr rfVersion 3.0.4 --argstr cmd "$SHELL"
*/
Expand Down