From 8da24b85abb8b54b980aabc5e498dd30a6baabd4 Mon Sep 17 00:00:00 2001 From: Robin Heggelund Hansen Date: Mon, 22 Sep 2025 07:58:22 +0200 Subject: [PATCH] Fixed tests --- .github/workflows/test.yml | 2 +- .gitignore | 3 --- devbox.json | 4 ++-- devbox.lock | 4 ++-- integration_tests/gren.json | 2 +- integration_tests/run-tests.sh | 3 --- tests/.gitignore | 1 - tests/gren.json | 2 +- tests/run-tests.sh | 4 ---- 9 files changed, 7 insertions(+), 18 deletions(-) delete mode 100755 integration_tests/run-tests.sh delete mode 100644 tests/.gitignore delete mode 100755 tests/run-tests.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44bc86ae..36b7cfdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - name: Install devbox - uses: jetify-com/devbox-install-action@v0.12.0 + uses: jetify-com/devbox-install-action@v0.13.0 with: enable-cache: true diff --git a/.gitignore b/.gitignore index ac418bc3..06131f09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ .gren -tests/app -integration_tests/app -tests/.gren *.dat doc*.json *~ diff --git a/devbox.json b/devbox.json index f786f21e..65d5f780 100644 --- a/devbox.json +++ b/devbox.json @@ -14,11 +14,11 @@ "format:check": "prettier -c \"!**/*.json\" .", "test": [ "cd tests/", - "./run-tests.sh" + "gren run Main" ], "integration": [ "cd integration_tests", - "./run-tests.sh" + "gren run Main" ] } } diff --git a/devbox.lock b/devbox.lock index a73f58c0..5079dc2e 100644 --- a/devbox.lock +++ b/devbox.lock @@ -2,8 +2,8 @@ "lockfile_version": "1", "packages": { "github:NixOS/nixpkgs/nixpkgs-unstable": { - "last_modified": "2025-09-05T01:14:44Z", - "resolved": "github:NixOS/nixpkgs/ca77296380960cd497a765102eeb1356eb80fed0?lastModified=1757034884&narHash=sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao%3D" + "last_modified": "2025-09-21T09:21:16Z", + "resolved": "github:NixOS/nixpkgs/a1f79a1770d05af18111fbbe2a3ab2c42c0f6cd0?lastModified=1758446476&narHash=sha256-5rdAi7CTvM%2FkSs6fHe1bREIva5W3TbImsto%2BdxG4mBo%3D" }, "gren@0.6": { "last_modified": "2025-08-05T11:35:34Z", diff --git a/integration_tests/gren.json b/integration_tests/gren.json index 9225ea45..fef50db9 100644 --- a/integration_tests/gren.json +++ b/integration_tests/gren.json @@ -4,7 +4,7 @@ "source-directories": [ "src" ], - "gren-version": "0.6.0", + "gren-version": "0.6.2", "dependencies": { "direct": { "blaix/gren-effectful-tests-node": "5.0.0", diff --git a/integration_tests/run-tests.sh b/integration_tests/run-tests.sh deleted file mode 100755 index 9a78439c..00000000 --- a/integration_tests/run-tests.sh +++ /dev/null @@ -1,3 +0,0 @@ -set -e - -gren run Main diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index 7a0b7f00..00000000 --- a/tests/.gitignore +++ /dev/null @@ -1 +0,0 @@ -app \ No newline at end of file diff --git a/tests/gren.json b/tests/gren.json index fe00462a..4bcc558a 100644 --- a/tests/gren.json +++ b/tests/gren.json @@ -4,7 +4,7 @@ "source-directories": [ "src" ], - "gren-version": "0.6.0", + "gren-version": "0.6.2", "dependencies": { "direct": { "gren-lang/core": "local:../", diff --git a/tests/run-tests.sh b/tests/run-tests.sh deleted file mode 100755 index f375110f..00000000 --- a/tests/run-tests.sh +++ /dev/null @@ -1,4 +0,0 @@ -set -e - -gren make Main -node app