about summary refs log tree commit diff
path: root/e2e-tests/Makefile
diff options
context:
space:
mode:
authorArun Isaac2025-08-24 17:48:54 +0100
committerArun Isaac2025-08-24 18:59:21 +0100
commitc2c22bc3a215e2a0d57c976a9aa337df95297ba1 (patch)
treef56074319413e5e47050e23ac568ea4c71d6638e /e2e-tests/Makefile
parentffbcb9521c62d49db2f6214dae695aa60a0cfec0 (diff)
downloadravanan-main.tar.gz
ravanan-main.tar.lz
ravanan-main.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 'e2e-tests/Makefile')
-rw-r--r--e2e-tests/Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/e2e-tests/Makefile b/e2e-tests/Makefile
deleted file mode 100644
index 1410a6d..0000000
--- a/e2e-tests/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# ravanan --- High-reproducibility CWL runner powered by Guix
-# Copyright © 2025 Arun Isaac <arunisaac@systemreboot.net>
-#
-# This file is part of ravanan.
-#
-# ravanan is free software: you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# ravanan is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with ravanan.  If not, see <https://www.gnu.org/licenses/>.
-
-CCWL ?= ccwl
-CWLTEST ?= cwltest
-
-tools_directory = tools
-tool_ccwl = $(wildcard $(tools_directory)/*.scm)
-tool_cwl = $(tool_ccwl:.scm=.cwl)
-
-all: $(tool_cwl)
-
-%.cwl: %.scm
-	$(CCWL) compile $^ > $@
-
-.PHONY: check clean
-check:
-	mkdir -p /tmp/cwltest-tmpdir
-	TMPDIR=/tmp/cwltest-tmpdir ../pre-inst-env $(CWLTEST) --test tests.yaml --tool ravanan -- --store=store --guix-manifest=manifest.scm
-
-clean:
-	rm -f $(tool_cwl)