docs: add GNU Emacs badge #59
This file contains hidden or 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
| # melpazoid <https://github.com/riscy/melpazoid> build checks. | |
| name: melpazoid | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 6 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install Emacs and Melpazoid | |
| run: | | |
| python -m pip install --upgrade pip | |
| sudo apt-get install emacs && emacs --version | |
| git clone https://github.com/riscy/melpazoid.git ~/melpazoid | |
| pip install ~/melpazoid | |
| - name: Install test dependencies | |
| run: bun install | |
| - name: Check | |
| run: bun run check | |
| - name: Test | |
| run: bun run test | |
| - name: Run Melpazoid | |
| run: | | |
| RECIPE="$(tr '\n' ' ' < eglot-python-preset.recipe)" | |
| export LOCAL_REPO="${{ github.workspace }}" | |
| export RECIPE | |
| export EXIST_OK=true | |
| echo "$GITHUB_REF" | |
| make -C ~/melpazoid |