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 cf9900d
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/test.yml
@@ -1,14 +1,24 @@
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
- 28.2
- release-snapshot
- snapshot
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 --extra-experimental-features "nix-command flakes" develop -c eldev --unstable build
- name: Run tests
run: nix --extra-experimental-features "nix-command flakes" develop -c eldev --unstable test

0 comments on commit cf9900d

Please sign in to comment.