Skip to content

Commit

Permalink
Github: add hugo example to test workflow (#208)
Browse files Browse the repository at this point in the history
* Github: add hugo example to test workflow

let's use our hugo example 'lecture' as test case in our github workflow

* add slides test
  • Loading branch information
cagix authored Dec 20, 2023
1 parent 2dc1cf3 commit 3f60186
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,25 @@ on:

jobs:
# run all test scripts
tests:
test_filter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cagix/pandoc-lecture@master
- run: cd filters/test && make test
test_hugo_lecture:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cagix/pandoc-lecture@master
with:
hugo: 'true'
- run: cd examples/hugo-lecture && make web
test_lecture_slides:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cagix/pandoc-lecture@master
with:
texlive: 'true'
- run: cd examples/hugo-lecture && make slides

0 comments on commit 3f60186

Please sign in to comment.