summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2021-03-24 11:35:07 +0300
committerGitHub <noreply@github.com>2021-03-24 02:35:07 -0600
commitba098bef99206e08cab9304574720e93eb7a938b (patch)
tree764de5ae6e1b51a8bc4b3980cb72b8ba764e8f8b /.github/workflows
parentc2b976f30d0008e04376d3f1e57563c45f355b78 (diff)
resolves #3969 add support for using pygments.rb 2.x when source-highlighter=pygments
* allow pygments.rb 2.x to be used as alternative to pygments.rb 1.x and document this support * use a single regular expression to rewrite the lineno spans independent of Pygments version * run tests against pygments.rb 2.x in addition to pygments.rb 1.x * update docs about Pygments timeout to be clear it only applies to pygments.rb 1.x * update test description that checks for lineno spans
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bddc5fee..691449c9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,7 +22,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
asciimath-version: [~]
- pygments-version: ['~> 1.2.0']
+ pygments-version: ['~> 2.0']
rouge-version: [~]
exclude:
- os: ubuntu-latest
@@ -42,6 +42,9 @@ jobs:
asciimath-version: '~> 1.0.0'
- os: ubuntu-latest
ruby: '2.3'
+ pygments-version: '~> 1.2.0'
+ - os: ubuntu-latest
+ ruby: '2.3'
rouge-version: '~> 2.0.0'
- os: ubuntu-latest
ruby: '3.0'