From b52c6f3ab8b07846a2d36dd8afb5eb142af2e961 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Tue, 4 Jan 2022 01:40:31 -0500 Subject: [PATCH 1/2] Re-enable the dvisvgm test during `make test` Ref: https://github.com/xu-cheng/texlive-action/issues/6#issuecomment-1004561244 This reverts commit e4722d0be5b39082455fe23a006714b286492749. --- .github/workflows/test.yml | 5 +++++ test/site/content-org/all-posts.org | 2 +- test/site/content/posts/equations-exported-to-svg.md | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae55beac..5d99163f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,8 +25,13 @@ jobs: - '25.3' # runs-on: ubuntu-latest runs-on: ${{ matrix.os }} + # https://github.com/xu-cheng/texlive-action/issues/6#issuecomment-1004561244 + container: + image: ghcr.io/xu-cheng/texlive-full:latest continue-on-error: ${{ matrix.emacs_version == 'snapshot' }} steps: + - run: | + apk add git make - uses: actions/checkout@v2 - uses: purcell/setup-emacs@master with: diff --git a/test/site/content-org/all-posts.org b/test/site/content-org/all-posts.org index b65e09b5..646594ea 100644 --- a/test/site/content-org/all-posts.org +++ b/test/site/content-org/all-posts.org @@ -3521,7 +3521,7 @@ spacing: \[a\;b\] \[a\:b\] \[a\!b\] -** Equations exported to SVG (dvisvgm) :dvisvgm:dont_export_during_make_test: +** Equations exported to SVG (dvisvgm) :dvisvgm: :PROPERTIES: :EXPORT_FILE_NAME: equations-exported-to-svg :EXPORT_OPTIONS: tex:dvisvgm diff --git a/test/site/content/posts/equations-exported-to-svg.md b/test/site/content/posts/equations-exported-to-svg.md index 60c05f51..d118aa73 100644 --- a/test/site/content/posts/equations-exported-to-svg.md +++ b/test/site/content/posts/equations-exported-to-svg.md @@ -1,7 +1,7 @@ +++ title = "Equations exported to SVG (dvisvgm)" description = "Exporting LaTeX equations as SVG images." -tags = ["equations", "dvisvgm", "dont-export-during-make-test"] +tags = ["equations", "dvisvgm"] draft = false +++ From e93f7eec7c287b5eaaf22c8466ad666339d08607 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Tue, 4 Jan 2022 01:52:36 -0500 Subject: [PATCH 2/2] Set USER in the texlive docker --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d99163f..0d366d7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,10 @@ jobs: image: ghcr.io/xu-cheng/texlive-full:latest continue-on-error: ${{ matrix.emacs_version == 'snapshot' }} steps: + # Below run commands are to install some basic utils in the texlive + # docker container. - run: | + export USER="gha" # USER needs to be set for purcell/setup-emacs@master to work apk add git make - uses: actions/checkout@v2 - uses: purcell/setup-emacs@master