improve tests (update magit test recipe, clean up env)

This commit is contained in:
riscy 2024-11-03 13:53:23 -08:00
parent e6b765746c
commit f7132179d8
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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 .