From 287f7f305154585f3933f0b646e17b8f9b5858a3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 18 Oct 2021 11:42:06 +0200 Subject: ci: move emacs' testing into its own thing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .github/workflows/ci.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to '.github') 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: | -- cgit v1.2.3