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: Test multiple format rendering | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: Test rendering in all formats | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Compile PDF document from rmd | |
uses: ./ | |
with: | |
input_file: test/pdf.Rmd | |
output_format: pdf_document | |
- name: Compile html document from rmd | |
uses: ./ | |
with: | |
input_file: test/html.Rmd | |
output_format: html_document | |
- name: Compile word document from rmd | |
uses: ./ | |
with: | |
input_file: test/word.Rmd | |
output_format: word_document | |