diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..6772f36 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,43 @@ +name: test +on: push +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + emacs_version: + - 25.3 + - 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 magit-popup + uses: actions/checkout@v2 + with: + repository: magit/magit-popup + path: magit-popup + - 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 |