about summary refs log tree commit diff
path: root/HACKING.md
diff options
context:
space:
mode:
authorArun Isaac2025-08-24 17:48:54 +0100
committerArun Isaac2025-08-24 18:59:21 +0100
commitc2c22bc3a215e2a0d57c976a9aa337df95297ba1 (patch)
treef56074319413e5e47050e23ac568ea4c71d6638e /HACKING.md
parentffbcb9521c62d49db2f6214dae695aa60a0cfec0 (diff)
downloadravanan-c2c22bc3a215e2a0d57c976a9aa337df95297ba1.tar.gz
ravanan-c2c22bc3a215e2a0d57c976a9aa337df95297ba1.tar.lz
ravanan-c2c22bc3a215e2a0d57c976a9aa337df95297ba1.zip
guix: Work with a test suite interned to the store. HEAD main
Instead of cwl-v1.2-conformance being a script that accepts a path to
the CWL v1.2 conformance test suite, we now work with a CWL v1.2 repo
origin object. This is more declarative, and there is no need for
manual cloning of the cwl-v1.2 git repo on the CI. The CI merely has
to run a script with no arguments. This provides more control here in
the ravanan repo and less configuration on the CI server.

We do likewise for the end-to-end tests. In this case, we work with
files from the ravanan repo, but have to first compile ccwl sources to
CWL workflows.
Diffstat (limited to 'HACKING.md')
-rw-r--r--HACKING.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/HACKING.md b/HACKING.md
index 7bb6691..e456242 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -7,12 +7,12 @@ guix shell -L .guix -Df manifest.scm
 
 # Run end-to-end tests
 
-ravanan comes with a suite of end-to-end tests under `e2e-tests`. To run them, first compile the required CWL workflows from the ccwl sources.
+ravanan comes with a suite of end-to-end tests under `e2e-tests`. End-to-end tests require a running Guix daemon. To run them, create and change into a new empty directory.
 ```
-make -C e2e-tests
+mkdir rundir
+cd rundir
 ```
-Then, run cwltest like so:
+Then, build and run the tests.
 ```
-make -C e2e-tests check
+$(guix build -L ../.guix -e '(@ (cwl-conformance) e2e-tests)')
 ```
-End-to-end tests require a running Guix daemon.