Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Sep 20, 2023
1 parent 33ff111 commit 5a92153
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cargo-dist/tests/snapshots/akaikatana_basic.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions cargo-dist/tests/snapshots/axolotlsay_basic.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2284,6 +2284,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: "Linkage report"
run: |
cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json

echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5a92153

Please sign in to comment.