diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..17da5b7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: CI +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + emacs_version: + - '27.1' + - 'snapshot' + include: + - emacs_version: 'snapshot' + allow_failure: true + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + + - name: Run initialization + run: | + emacs -batch -l "init.el" + + - name: Verify packages + run: | + emacs -batch -l "init.el" --eval '(assert (not (nd/verify-required-packages)))' + diff --git a/.gitignore b/.gitignore index b6f441c..ff7c426 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ etc/* local/* !/local/lib +!.github +