Fix "progress=plain and quiet cannot be used together" in CI (#30) #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: | | |
sudo apt-get install emacs | |
emacs --version | |
python -m pip install --upgrade pip | |
pip install . mypy pytest black | |
- name: Test | |
run: make test-melpazoid | |
- name: Test 'shx' Pull Request # a small package with few dependencies | |
env: | |
CI_BRANCH: master # always build the master branch for this repo | |
EXIST_OK: true # we expect that it already exists on MELPA | |
run: MELPA_PR_URL=https://github.com/melpa/melpa/pull/4749 make | |
- name: Test 'kanban' Recipe # notably this is a Mercurial recipe | |
env: | |
CI_BRANCH: default # always build the default branch on this repo | |
EXPECT_ERROR: 2 # we expect it to have some nags | |
run: RECIPE='(kanban :fetcher hg :url "https://hg.sr.ht/~arnebab/kanban.el")' make | |
- name: Test 'magit' Recipe # magit is a large recipe | |
env: | |
CI_BRANCH: master # 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 | |
- name: Test local 'melpazoid' | |
env: | |
CI_BRANCH: master | |
run: python melpazoid/melpazoid.py . --license --recipe '(melpazoid :fetcher github :repo "riscy/melpazoid" :files ("melpazoid/melpazoid.el"))' |