From f7132179d84730192e5d724025ea30904609b2c0 Mon Sep 17 00:00:00 2001 From: riscy Date: Sun, 3 Nov 2024 13:53:23 -0800 Subject: [PATCH] improve tests (update magit test recipe, clean up env) --- .github/workflows/test.yml | 8 ++++++-- Makefile | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 335b904..0ff43c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,8 +38,12 @@ jobs: env: CI_BRANCH: main # always build the master branch on this repo EXPECT_ERROR: 2 # we expect it to have some nags - run: RECIPE='(magit :fetcher github :repo "magit/magit" :files ("lisp/magit" "lisp/magit*.el" "lisp/git-rebase.el" "Documentation/magit.texi" "Documentation/AUTHORS.md" "LICENSE" (:exclude "lisp/magit-libgit.el")))' make - + run: + RECIPE='(magit :fetcher github + :repo "magit/magit" + :files ("lisp/magit" "lisp/magit*.el" "lisp/git-rebase.el" "Documentation/magit.texi" "Documentation/AUTHORS.md" "LICENSE" + (:exclude "lisp/magit-libgit.el")))' + make - name: Test local 'melpazoid' env: CI_BRANCH: master diff --git a/Makefile b/Makefile index ae413ec..fbcb657 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ image: .PHONY: test-melpazoid test-melpazoid: + rm -rf _requirements.el mypy --strict --non-interactive --install-types melpazoid pytest --doctest-modules --durations=5 ruff format --check .