Skip to content

Commit f42b50f

Browse files
authored
CI: use GitHub actions with Docker to run tests (#135)
* Delete Circle CI config * Delete Travis CI config * CI: use GitHub actions with Docker to run tests * Add funding info * README: document that tests run in pandoc/ubuntu:latest
1 parent 4fca340 commit f42b50f

File tree

6 files changed

+41
-129
lines changed

6 files changed

+41
-129
lines changed

.circleci/config.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [tarleb, jgm]

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- '**/README.md'
9+
- CONTRIBUTING.md
10+
- LICENSE
11+
- .editorconfig
12+
push:
13+
branches:
14+
- master
15+
paths-ignore:
16+
- '**/README.md'
17+
- CONTRIBUTING.md
18+
- LICENSE
19+
- .editorconfig
20+
schedule:
21+
# At 4:17am each Monday
22+
- cron: '17 4 * * 1'
23+
24+
jobs:
25+
test:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v2
31+
32+
- name: Build Docker image
33+
run: make docker-test-image
34+
35+
- name: Run tests in Docker image
36+
run: make docker-test

.travis.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FILTERS=$(wildcard $(shell find * -type d | grep -v '[/\\]'))
22
FILTER_FILES=$(shell find * -name "*.lua" -type f)
3-
LUA_FILTERS_TEST_IMAGE = tarleb/lua-filters-test
3+
LUA_FILTERS_TEST_IMAGE = pandoc/lua-filters-test
44

55
.PHONY: test show-args docker-test docker-test-image archive
66

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ Each filter goes in its own subdirectory. Each subdirectory contains:
2525
Requirements
2626
------------
2727

28-
Filters are tested against the latest pandoc version. There is
29-
no guarantee that filters will work with older versions, but
28+
Filters are tested against the pandoc version in the latest
29+
pandoc/ubuntu Docker image, i.e. usually the latest release. There
30+
is no guarantee that filters will work with older versions, but
3031
many do.
3132

3233
Some filters depend on external programs, which must be installed

0 commit comments

Comments
 (0)