spacemacs/.github/workflows/test.yml

35 lines
884 B
YAML
Raw Normal View History

2020-08-30 05:00:45 +00:00
name: emacs_test
on:
pull_request:
push:
branches:
- master
- develop
env:
SCRIPT: './.github/workflows/scripts/test'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
2020-08-30 23:20:15 +00:00
emacs_version: [25.3, 26.3, 27.1, snapshot]
2020-08-30 05:00:45 +00:00
test_root:
- 'core'
- 'layers/+distribution/spacemacs-base'
- 'layers/+distribution/spacemacs'
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v2
- name: "Dependencies installation"
run: '${{ env.SCRIPT }} ${{ matrix.test_root }} installation'
- name: "Unit testing"
run: '${{ env.SCRIPT }} ${{ matrix.test_root }} unit_tests'
- name: "Functional testing"
run: '${{ env.SCRIPT }} ${{ matrix.test_root }} func_tests'