Skip to content

Commit

Permalink
CI: Run tests in minimal container
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Aug 15, 2024
1 parent c21eb04 commit 78fd2c5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container:
image: pandoc/minimal:latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: apk add make

- 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"
run: make test

0 comments on commit 78fd2c5

Please sign in to comment.