summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-11-26 23:30:20 -0700
committerDan Allen <dan.j.allen@gmail.com>2020-11-27 03:20:56 -0700
commita650b250260f0ff0aab8701ffdedb0ad3b494185 (patch)
treef69a17eaa8ab0018413f324bea3d4e70aa630916 /.github
parent7ce1d3ac0f9cb2e51a5c380c719bf23b34a49fee (diff)
add job to matrix that runs tests against AsciiMath 1
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9b204191..d51f3f6d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,7 +8,7 @@ on:
- cron: '0 2 * * *'
jobs:
activate:
- if: "!endsWith(github.event.head_commit.message, '[skip ci]')"
+ if: '!endsWith(github.event.head_commit.message, "[skip ci]")'
runs-on: ubuntu-latest
steps:
- name: Proceed
@@ -20,6 +20,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7']
rouge-version: [~]
+ asciimath-version: [~]
exclude:
- os: ubuntu-latest
ruby: '2.7'
@@ -34,6 +35,9 @@ jobs:
ruby: '2.7'
- os: ubuntu-latest
ruby: '2.3'
+ asciimath-version: '~> 1.0.0'
+ - os: ubuntu-latest
+ ruby: '2.3'
rouge-version: '~> 2.0.0'
- os: ubuntu-latest
ruby: '2.7'
@@ -63,6 +67,9 @@ jobs:
- name: Configure Nokogiri installation (macOS)
if: matrix.os == 'macos-latest'
run: bundle config --local build__nokogiri --use-system-libraries
+ - name: Set AsciiMath version
+ if: matrix.asciimath-version
+ run: echo 'ASCIIMATH_VERSION=${{ matrix.asciimath-version }}' >> $GITHUB_ENV
- name: Set Rouge version
if: matrix.rouge-version
run: echo 'ROUGE_VERSION=${{ matrix.rouge-version }}' >> $GITHUB_ENV