Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienCassou committed Sep 2, 2023
1 parent 815f297 commit ecba43e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 24 deletions.
19 changes: 0 additions & 19 deletions .drone.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 29.1
steps:
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}

- name: Check out the source code
uses: actions/checkout@v3

- name: Check the project
run: |
emacs --version
emacs -Q --batch --eval "(require 'package)" --eval "(setq package-archives '((\"melpa\" . \"https://melpa.org/packages/\") (\"gnu\" . \"https://elpa.gnu.org/packages/\")))" --funcall package-initialize --funcall package-refresh-contents --eval "(package-install 'package-lint)" --eval "(package-install 'buttercup)"
cd test && bash ./run-tests.sh
12 changes: 7 additions & 5 deletions README.org
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
* makel

#+begin_export html
<a href="https://drone.petton.fr/DamienCassou/makel">
<img src="https://drone.petton.fr/api/badges/DamienCassou/makel/status.svg" />
</a>
#+end_export
#+BEGIN_HTML
<p>
<a href="https://github.com/DamienCassou/makel/actions">
<img alt="pipeline status" src="https://github.com/DamienCassou/makel/actions/workflows/test.yml/badge.svg" />
</a>
</p>
#+END_HTML

** Summary

Expand Down

0 comments on commit ecba43e

Please sign in to comment.