diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-12-16 02:48:12 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-12-16 02:52:03 -0700 |
| commit | 40bc23cbc105d87ce25892d4c1866fad7f9ba01a (patch) | |
| tree | a8abf45398501ffed3833608b4d4de5dda2ee900 /.github/workflows | |
| parent | b6ddf7d66c619f30e9e19deb398b0db1d7a4a82e (diff) | |
install python2 when running tests with pygments.rb 1.2
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4e43af6..325d4b74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,9 @@ jobs: - name: Set Pygments version if: matrix.pygments-version run: echo 'PYGMENTS_VERSION=${{ matrix.pygments-version }}' >> $GITHUB_ENV + - name: Install prerequisites for Pygments ~> 1.2.0 (Linux) + if: matrix.os == 'ubuntu-latest' && matrix.pygments-version == '~> 1.2.0' + run: sudo apt-get install python2 - name: Set Rouge version if: matrix.rouge-version run: echo 'ROUGE_VERSION=${{ matrix.rouge-version }}' >> $GITHUB_ENV |
