Bump package versions. #21
Workflow file for this run
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: Reproduction Materials | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v3" | |
- name: Build Docker image. | |
run: docker build -t gptools . | |
- name: Verify notebooks are up to date. | |
run: docker run --rm -v `pwd`:/workdir gptools pytest -v | |
- name: Render the getting started notebook for Python. | |
run: docker run --rm -v `pwd`:/workdir gptools cook exec getting_started:run | |
- name: Render the getting started Rmarkdown for R. | |
run: docker run --rm -v `pwd`:/workdir gptools cook exec getting_started_R:run | |
- name: Generate figures (using ./in-docker.sh but we can't use `-it` in the Action). | |
run: docker run --rm -e FAST=true -v `pwd`:/workdir gptools cook exec figures | |
- name: Upload figures and reports as artifacts. | |
uses: actions/upload-artifact@v3 | |
with: | |
name: figures-reports | |
path: | | |
*/*.html | |
*/*.png |