Skip to content

Commit 9682726

Browse files
committed
pipeline
1 parent af7a5b8 commit 9682726

2 files changed

Lines changed: 93 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github: KeyWeeUsr
2+
buy_me_a_coffee: peterbadida
3+
liberapay: keyweeusr
4+
custom: ["https://paypal.me/peterbadida"]

.github/workflows/test.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore: ['**.md']
6+
pull_request:
7+
paths-ignore: ['**.md']
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }}
13+
14+
strategy:
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
emacs_version: [
19+
'25.1', '25.2', '25.3',
20+
'26.1', '26.2', '26.3',
21+
'27.1', '27.2',
22+
'28.1', '28.2',
23+
'29.1', '29.2', '29.3',
24+
'snapshot'
25+
]
26+
27+
steps:
28+
- name: Set up Emacs
29+
uses: jcs090218/setup-emacs@master
30+
with:
31+
version: ${{ matrix.emacs_version }}
32+
33+
- name: Install Eldev
34+
uses: emacs-eldev/setup-eldev@v1
35+
36+
- name: Check out the source code
37+
uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0
40+
41+
- run: sudo apt install -y argon2
42+
- name: Test the project
43+
env:
44+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
45+
run: |
46+
eldev \
47+
--debug \
48+
--packaged \
49+
--trace \
50+
--time \
51+
--color=always \
52+
test
53+
eldev \
54+
--debug \
55+
--trace \
56+
--time \
57+
--color=always \
58+
test -u on,coveralls
59+
60+
- name: Ensure clean byte-compilation
61+
run: |
62+
eldev \
63+
--debug \
64+
--trace \
65+
--time \
66+
--color=always \
67+
compile \
68+
--warnings-as-errors
69+
70+
# - name: Lint the project
71+
# run: |
72+
# eldev \
73+
# --debug \
74+
# --trace \
75+
# --time \
76+
# --color=always \
77+
# lint
78+
79+
- name: Run all doctor tests
80+
run: |
81+
eldev \
82+
--verbose \
83+
--debug \
84+
--packaged \
85+
--trace \
86+
--time \
87+
--color=always \
88+
--backtrace-on-abort \
89+
doctor --all-tests

0 commit comments

Comments
 (0)