Skip to content

Commit

Permalink
Add CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Oct 16, 2024
1 parent 860b687 commit baa0169
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI tests

on:
push:
paths-ignore:
- 'README.md'
pull_request:
paths-ignore:
- 'README.md'

jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- '2.19.2'
- '3.5'
-
steps:
- name: Install pandoc
uses: pandoc/actions/setup@main
with:
version: ${{ matrix.version }}
- name: Verify
run: |
if [ -z "${{ matrix.version }}" ]; then
# just check that pandoc is available
pandoc -v
else
# check that we got the right version
[ "pandoc ${{ matrix.version }}" = "$(pandoc -v | head -n1)" ]
fi

0 comments on commit baa0169

Please sign in to comment.