aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-10-18 11:42:06 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-10-18 11:42:06 +0200
commit287f7f305154585f3933f0b646e17b8f9b5858a3 (patch)
tree10e737bb610e06f40bfd48235cf489f8b683ae3a /.github
parentb0fca886fdbac98b0f87a668bcfeb0f1dd0bc867 (diff)
downloaddotfiles-287f7f305154585f3933f0b646e17b8f9b5858a3.tar.gz
dotfiles-287f7f305154585f3933f0b646e17b8f9b5858a3.zip
ci: move emacs' testing into its own thing
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9a5c5be..c81e174 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,20 @@ on:
branches: [main]
jobs:
- test:
+ scripts:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - name: Run tests for scripts
+ run: |
+ ./bin/test/test.sh
+
+ emacs:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }}
@@ -25,13 +38,9 @@ jobs:
with:
version: ${{ matrix.emacs_version }}
- - name: Run tests for scripts
- run: |
- ./bin/test/test.sh
-
- name: Install dependencies for Doom
run: |
- apt-get install ripgrep
+ sudo apt-get install ripgrep
- name: Install Doom Emacs
run: |