Skip to content

Commit

Permalink
fix: test expectations
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Oli Evans <[email protected]>
  • Loading branch information
olizilla committed Jan 17, 2024
1 parent 0dd07c7 commit 70ca455
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ jobs:
uses: ./
id: run1
with:
path_to_add: 'test/fixtures'
proof: ${{ secrets.W3_PROOF }}
secret_key: ${{ secrets.W3_PRINCIPAL }}
path_to_add: 'test/fixtures'

- name: test run 1 output
run: echo "unexpected output cid" && exit 1
if: ${{ steps.run1.outputs.cid != 'bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy' }}
run: echo "unexpected output cid ${{ steps.run1.outputs.cid }}" && exit 1
if: ${{ steps.run1.outputs.cid != 'bafybeifpw7nrh374rzfcxpaw3bkp6fr7djmujg5wvib6ma7i7n76t3k53q' }}

- name: run 2 - upload with no_wrap true
- name: run 2 - upload (wrap=false)
uses: ./
id: run2
with:
wrap: false
path_to_add: 'test/fixtures'
proof: ${{ secrets.W3_PROOF }}
secret_key: ${{ secrets.W3_PRINCIPAL }}
path_to_add: 'test/fixtures'
wrap: true


- name: test run 2 output
run: echo "unexpected output cid" && exit 1
if: ${{ steps.run2.outputs.cid != 'bafybeifpw7nrh374rzfcxpaw3bkp6fr7djmujg5wvib6ma7i7n76t3k53q' }}
run: echo "unexpected output cid ${{ steps.run2.outputs.cid }}" && exit 1
if: ${{ steps.run2.outputs.cid != 'bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy' }}

0 comments on commit 70ca455

Please sign in to comment.