CI #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
schedule: | |
# At 5:39am each Tuesday | |
- cron: '39 5 * * 2' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
# Use docker image with current release. | |
make test \ | |
PANDOC="docker run --rm --volume $(pwd):/data \ | |
--user $(id -u):$(id -g) pandoc/core:latest" |