aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 17e4f0b8fd86fa227dd9a43e1b3c7dacd5958a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: test
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        emacs_version:
        - 26.1
        - 27.2
        - snapshot
    steps:
    - name: Install emacs
      uses: purcell/setup-emacs@master
      with:
        version: ${{ matrix.emacs_version }}
    - name: Check out dash
      uses: actions/checkout@v2
      with:
        repository: magnars/dash.el
        path: dash.el
    - name: Check out transient
      uses: actions/checkout@v2
      with:
        repository: magit/transient
        path: transient
    - name: Check out snakemake-mode
      uses: actions/checkout@v2
      with:
        repository: kyleam/snakemake-mode
        path: snakemake-mode
    - name: Set up Python 3.7
      uses: actions/setup-python@v1
      with:
        python-version: 3.7
    - name: Install Snakemake
      run: |
        python -m pip install --upgrade pip
        pip install snakemake
    - name: Build snakemake-mode
      run: make -C snakemake-mode all
    - name: Test snaekmake-mode
      run: make -C snakemake-mode test