Skip to content

Commit

Permalink
[nix] Refactor flake
Browse files Browse the repository at this point in the history
  • Loading branch information
xFA25E committed Mar 22, 2023
1 parent 07dcc28 commit dfa7bba
Show file tree
Hide file tree
Showing 7 changed files with 426 additions and 123 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/test.yml
@@ -1,14 +1,22 @@
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: Run tests
run: nix --extra-experimental-features "nix-command flakes" develop -c eldev --unstable -p -d -t -T test
319 changes: 299 additions & 20 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dfa7bba

Please sign in to comment.