Skip to content
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

Add test for the environment filter #230

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Two primary targets are defined by this Makefile:
# Three primary targets are defined by this Makefile:
#
# 1. test-minimal: test a minimal base image
# 2. test-latex: test a latex image
# 3. test-extra: test an extra image
#
# The IMAGE variable is required to be defined in order to `docker run` the
# various tests. The parent Makefile test targets define this, or alternatively
Expand Down Expand Up @@ -187,14 +188,21 @@ EXTRA_CMD = docker run --rm \
--fail-if-warnings

.PHONY: test-extra
test-extra: output/eisvogel.pdf output/beamertheme-metropolis.pdf
test-extra: output/eisvogel.pdf output/eisvogel_with_environment.pdf output/beamertheme-metropolis.pdf

output/eisvogel.pdf: eisvogel.md
$(EXTRA_CMD) $< \
--output=$@ \
--template=eisvogel \
--pdf-engine=xelatex

output/eisvogel_with_environment.pdf: eisvogel.md
$(EXTRA_CMD) $< \
--output=$@ \
--template=eisvogel \
--pdf-engine=xelatex \
--filter=pandoc-latex-environment

output/beamertheme-metropolis.pdf: beamertheme-metropolis.md
$(EXTRA_CMD) $< \
--output=$@ \
Expand Down
Loading