Skip to content

Update CI to run tests with perevir #78

Update CI to run tests with perevir

Update CI to run tests with perevir #78

Workflow file for this run

name: CI
on:
# Run on all pull requests that change code.
pull_request:
paths-ignore:
- 'README.md'
- LICENSE
- .editorconfig
# Run every time a code change is pushed.
push:
paths-ignore:
- 'README.md'
- LICENSE
- .editorconfig
# Test if things still work each Tuesday morning at 5:39 UTC.
# This way we will catch incompatible pandoc changes in a timely
# manner.
schedule:
# At 5:39am each Tuesday
- cron: '39 5 * * 2'
jobs:
test:
runs-on: ubuntu-latest
env:
pvurl: https://raw.githubusercontent.com/tarleb/perevir/v0.3.0/perevir.lua
container:
image: pandoc/minimal:latest-alpine
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: apk add make curl
- name: Install local perevir
run: curl --output test/perevir $pvurl
- name: Test
run: make test