-
Notifications
You must be signed in to change notification settings - Fork 93
Switch from travis ci to github actions #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
09fe703
84d30ed
97af15d
6d67f15
1bf18d2
7cb6a96
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: mix test (Emacs ${{matrix.emacs_version}} | Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}}) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
emacs_version: | ||
# Add more lines like this if you want to test on different Emacs versions. | ||
- 27.1 | ||
- 26.3 | ||
- 26.1 | ||
- 25.2 | ||
- 25.1 | ||
include: | ||
- elixir: 1.8.x | ||
otp: 21.3.8.18 | ||
- elixir: 1.9.x | ||
otp: 21.3.8.18 | ||
- elixir: 1.10.x | ||
otp: 21.3.8.18 | ||
- elixir: 1.11.x | ||
otp: 21.3.8.18 | ||
- elixir: 1.11.x | ||
otp: 23.1.4 | ||
env: | ||
MIX_ENV: test | ||
ERT_RUNNER_ARGS: | ||
|
||
steps: | ||
- name: Set up Emacs | ||
uses: purcell/setup-emacs@master | ||
with: | ||
version: ${{matrix.emacs_version}} | ||
|
||
- name: Install Eldev | ||
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh | ||
|
||
- name: Check out the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Test the project | ||
run: | | ||
eldev prepare | ||
eldev -p -dtT test |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ | |
/.cask/ | ||
/dist/ | ||
*-emacs-elixir-format.ex | ||
|
||
# Added automatically by `eldev init'. | ||
/.eldev | ||
/Eldev-local |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*- | ||
|
||
;; Autodetermined by `eldev init'. | ||
(eldev-use-package-archive 'melpa) | ||
|
||
(eldev-use-plugin 'autoloads) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
;; Created: Mon Nov 7 2011 | ||
;; Keywords: languages elixir | ||
;; Version: 2.4.0 | ||
;; Package-Requires: ((emacs "24") (pkg-info "0.4")) | ||
;; Package-Requires: ((emacs "24") (pkg-info "0.4") (s "1.2.0")) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't that help? https://github.com/doublep/eldev#additional-dependencies |
||
|
||
;; This file is not a part of GNU Emacs. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding this here, the tests should not try to read this environment variable