Skip to content

Commit

Permalink
test(ci): move compute diff to top of render job
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Aug 22, 2024
1 parent 37d63a6 commit 47cefa1
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/manuscript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,31 @@ jobs:
uses: iterative/setup-dvc@68c55926a8ce27c2d4fcf7db61149ee64cf4eeb9 # v1
with:
version: "3.53.2"
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
tinytex: true
- name: Setup tmate debug session
if: ${{ inputs.debug_enabled == 'true' }}
uses: mxschmitt/action-tmate@a283f9441d2d96eb62436dc46d7014f5d357ac22 # v3
- name: Render
- name: Download figures
run: |
make -C reproducibility/manuscript render
make -C reproducibility/manuscript figures-download
- name: Compute diff
# if: ${{ inputs.diff_enabled == 'true' }}
continue-on-error: true
continue-on-error: false
uses: xu-cheng/texlive-action@3586544d56723b23ab69aec1e9d73e7220d9c313 # v2
with:
scheme: full
run: |
apk add make
git config --global --add safe.directory "${{ github.workspace }}/**"
git config --global --add safe.directory "${{ github.workspace }}"
git config --global --add safe.directory "${{ github.workspace }}/.git"
make -C reproducibility/manuscript latexdiff
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
tinytex: true
- name: Setup tmate debug session
if: ${{ inputs.debug_enabled == 'true' }}
uses: mxschmitt/action-tmate@a283f9441d2d96eb62436dc46d7014f5d357ac22 # v3
- name: Render
run: |
make -C reproducibility/manuscript render
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
Expand Down

0 comments on commit 47cefa1

Please sign in to comment.