Skip to content

Commit

Permalink
Try nix-emacs-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xFA25E committed Mar 20, 2023
1 parent c093811 commit eec6089
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/test.yml
@@ -1,14 +1,21 @@
name: "Test"
on:
pull_request:
push:
name: "CI"

on: [push, pull_request]

jobs:
tests:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 28.1
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: purcell/setup-emacs@master
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix flake check
version: ${{ matrix.emacs_version }}

- uses: actions/checkout@v3
- name: Byte compile
run: nix develop -c eldev --unstable build
- name: Run tests
run: eldev --unstable test

0 comments on commit eec6089

Please sign in to comment.