summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-11-12 00:30:26 -0700
committerDan Allen <dan.j.allen@gmail.com>2020-11-12 00:31:26 -0700
commitaa0554a789dce2e6fef2f04f52d0b595670ba1bd (patch)
treeed7ab267859fd7ab1191ccb1ec0b9f098d0ccac1 /.github/workflows
parentc7e8868958b9965653c131c38a2ef6ab05720bef (diff)
rely on test runner to disable Pygments tests on JRuby for Windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5a8682d0..4acfa9b9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,10 +1,8 @@
name: CI
on:
push:
- branches:
- - '**'
- tags-ignore:
- - '**'
+ branches: ['**']
+ tags-ignore: ['**']
pull_request:
schedule:
- cron: '0 2 * * *'
@@ -58,6 +56,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
JRUBY_OPTS: '-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false'
+ PYGMENTS_VERSION: '~> 1.2.0' # NOTE: test runner will automatically disable Pygments tests on JRuby for Windows
RGHOST_VERSION: '0.9.7'
steps:
- name: Checkout
@@ -72,10 +71,6 @@ jobs:
run: |
bundle config --local path .bundle/gems
bundle config --local without coverage docs lint
- - name: Set Pygments version
- if: "!(matrix.os == 'windows-latest' && contains(matrix.ruby, 'jruby'))"
- run: echo 'PYGMENTS_VERSION=~> 1.2.0' >> $GITHUB_ENV
- shell: bash
- name: Activate Gmagick
if: matrix.primary
run: |