File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 42
42
run : apk add make
43
43
44
44
- name : Test
45
- run : make test
45
+ run : make test PANDOC_VERSION=${{ matrix.pandoc }}
Original file line number Diff line number Diff line change 1
1
DIFF ?= diff
2
2
PANDOC ?= pandoc
3
3
4
+ # Use special expected output file if it exists.
5
+ expected_output = test/expected.$(PANDOC_VERSION ) .txt
6
+ ifeq ($(wildcard $(expected_output ) ) ,)
7
+ expected_output = test/expected.txt
8
+ endif
9
+
4
10
test : test/input.md multiple-bibliographies.lua
5
11
@$(PANDOC ) -d test/test.yaml \
6
- | $(DIFF ) - test/expected.txt
12
+ | $(DIFF ) $( expected_output ) -
7
13
8
14
.PHONY : test
Original file line number Diff line number Diff line change
1
+ Multiple Bibliographies Demo
2
+
3
+ Nietzsche (1872), Bellori (1672)
4
+
5
+ References
6
+
7
+ Bellori. 1672. Le Vite de’ Pittori, Scultori e Architetti Moderni.
8
+
9
+ Nietzsche, Friedrich. 1872. Die Geburt Der Tragödie Aus Dem Geiste Der
10
+ Musik.
11
+
12
+ Recommended Reading
13
+
14
+ Bätschmann, Oskar. 1985. Pygmalion Als Betrachter.
15
+
16
+ Knuth, Donald E. 1986. The TeXbook.
You can’t perform that action at this time.
0 commit comments