counsel-projectile/.forgejo/workflows/ci.yml
Maciej Szlosarczyk 4561b9dde2
Some checks failed
/ Test on 28.2 (push) Failing after 21s
/ Test on 29.4 (push) Failing after 21s
/ Test on snapshot (push) Failing after 20s
Install ripgrep
2024-09-02 12:56:54 +03:00

41 lines
960 B
YAML

on: [push]
jobs:
test:
name: Test on ${{matrix.emacs-version}}
runs-on: docker
strategy:
matrix:
node: ["20"]
emacs-version: ["snapshot", "28.2", "29.4"]
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Setup NodeJS
uses: https://code.forgejo.org/actions/setup-node@v4
with:
node-version: ${{matrix.node}}
- name: Install ripgrep
run: apt-get install ripgrep -y
- name: Setup emacs
uses: ./.forgejo/install-emacs
with:
version: ${{ matrix.emacs-version }}
- name: Install eask
run: npm install -g @emacs-eask/cli
- name: Install deps
run: eask install-deps --dev
- name: Run tests
run: eask test buttercup
- name: Build package to dist
run: eask package
- name: Uninstall eask
run: npm uninstall -g @emacs-eask/cli