Skip to content

Commit 1e0bc29

Browse files
Add CI workflow
This change enable testing media collections loading error
1 parent 62a44bd commit 1e0bc29

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/test.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copied from https://github.com/purcell/emacs.d/blob/master/.github/workflows/test.yml
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
push:
7+
paths-ignore:
8+
- '**.org'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
continue-on-error: ${{ matrix.experimental }}
14+
strategy:
15+
matrix:
16+
emacs_version:
17+
- 29.3
18+
experimental: [false]
19+
include:
20+
- emacs_version: snapshot
21+
experimental: true
22+
steps:
23+
- uses: purcell/setup-emacs@master
24+
with:
25+
version: ${{ matrix.emacs_version }}
26+
27+
- uses: actions/checkout@v4
28+
- name: Check startup
29+
run: |
30+
mkdir ~/test-unicode
31+
pushd ~/test-unicode;
32+
touch test.mp3 "avec espace.mp3" accent-$(echo -e "\0303\0251.mp3");
33+
popd
34+
${EMACS:=emacs} -nw --batch \
35+
--eval '(progn
36+
(let ((debug-on-error t))
37+
(prefer-coding-system 'utf-8-unix)
38+
(use-package ready-player
39+
:custom
40+
(ready-player-my-media-collection-location "test-unicode/")
41+
:config
42+
(ready-player-mode +1))
43+
;; todo: check that exist
44+
(ready-player)
45+
))'

0 commit comments

Comments
 (0)