Skip to content

Commit

Permalink
Merge pull request #291 from carpentries/add-pr-checks
Browse files Browse the repository at this point in the history
update pr-recieve workflow
  • Loading branch information
zkamvar authored May 25, 2022
2 parents 38308ec + 63a941f commit f523a87
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sandpaper
Title: Create and Curate Carpentries Lessons
Version: 0.5.5
Version: 0.5.6
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# sandpaper 0.5.6

CONTINUOUS INTEGRATION
----------------------

* Pull requests will now report on elements of the lesson that do not pass
checks.

# sandpaper 0.5.5

MISC
Expand Down
3 changes: 2 additions & 1 deletion inst/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pull requests that do not pass checks and do not have bots commented on them.**
This series of workflows all go together and are described in the following
diagram and the below sections:

![Graph representation of a pull request](https://raw.githubusercontent.com/zkamvar/stunning-barnacle/main/img/pr-flow.dot.svg)
![Graph representation of a pull request](../../vignettes/articles/img/pr-flow.dot.svg)

### Recieve Pull Request (pr-recieve.yaml)

Expand All @@ -143,6 +143,7 @@ process as the sandpaper-main workflow with the same caching mechanisms.

The artifacts produced are used by the next workflow.

# sandpaper 0.5.5
### Comment on Pull Request (pr-comment.yaml)

This workflow is triggered if the `pr-recieve.yaml` workflow is successful.
Expand Down
3 changes: 2 additions & 1 deletion inst/workflows/pr-receive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
with:
cache-version: ${{ secrets.CACHE_VERSION }}

- name: "Build Site"
- name: "Validate and Build Markdown"
id: build-site
run: |
sandpaper::package_cache_trigger(TRUE)
sandpaper::validate_lesson(path = '${{ github.workspace }}')
sandpaper:::build_markdown(path = '${{ github.workspace }}', quiet = FALSE)
shell: Rscript {0}

Expand Down

0 comments on commit f523a87

Please sign in to comment.