Skip to content

Commit

Permalink
chore: add example test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason I committed Apr 24, 2024
1 parent 0c3921f commit d1c451a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check-interface-spec-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,6 @@ jobs:
- name: Build and deploy all examples
run: |
.github/workflows/hosting-photo-storage-example.test.sh
.github/workflows/hosting-photo-storage-example.test.sh
.github/workflows/hosting-static-website-example.test.sh
.github/workflows/hosting-unity-webgl-example.test.sh
5 changes: 5 additions & 0 deletions .github/workflows/hosting-unity-webgl-example.test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
dfx start --background
pushd hosting/unity-webgl-template
dfx deploy
popd
10 changes: 2 additions & 8 deletions .github/workflows/hosting-unity-webgl-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ jobs:
run: bash .github/workflows/provision-darwin.sh
- name: Hosting Unity Webgl Darwin
run: |
dfx start --background
pushd hosting/unity-webgl-template
dfx deploy
popd
.github/workflows/hosting-unity-webgl-example.test.sh
hosting-unity-webgl-linux:
runs-on: ubuntu-20.04
steps:
Expand All @@ -34,7 +31,4 @@ jobs:
run: bash .github/workflows/provision-linux.sh
- name: Hosting Unity Webgl Linux
run: |
dfx start --background
pushd hosting/unity-webgl-template
dfx deploy
popd
.github/workflows/hosting-unity-webgl-example.test.sh

0 comments on commit d1c451a

Please sign in to comment.