diff options
author | Kyle Meyer <kyle@kyleam.com> | 2022-02-21 17:59:29 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2022-02-21 18:01:00 -0500 |
commit | c657cfacc0201c7c298d7987b5b6a62b4d4a2284 (patch) | |
tree | 42071b3322bae09cade7e3f1c0791d6e487e8ddc /.github/workflows | |
parent | e735cccc4f7032e6b4bbae1a23c4906d89e8ea10 (diff) | |
download | snakemake-mode-c657cfacc0201c7c298d7987b5b6a62b4d4a2284.tar.gz |
ci: Switch to GitHub Actions
After GitHub Actions were available, this repository kept using Travis
because it worked well enough, especially given this package is very
much in maintenance mode. However, going forward it'd be nice to use
purcell/setup-emacs action to test various Emacs versions.
Don't bother testing against Emacs 24 because the next release will
bump the minimum Emacs version to at least 25.1.
While touching this setup, drop the Makefile target for downloading
dependencies and instead just expect dependencies to be one level up
from the snakemake-mode checkout.
Diffstat (limited to '.github/workflows')
-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 |