-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
High-level API for querying FA token balances and metadata (#33)
* GetOwnersForToken * GetOwnersForContract * IsHolderOfContract & GetTokenMetadata; Updated DJson binaries; * GetContractMetadata * 1.2.1 * Fix project structure; * Fix authenticationQr prefab; * Created NftApiSample; Resolves #37 * IsHolderOfToken * Upm structure refactoring; * GetTokensForContract added; * Added runtime tests; * Separated tezos api and game logic; new NftApiSample scene and prefabs; * Added tests for Tezos API methods; * Merge refactoring; * Merge vs main; Removed BeaconConnectorNull impl; * Updated GUID's inside Sample dir * Refactor: Tezos divided into two parts: Wallet and API; Added Tezos config singleton class; * Revert "Updated GUID's inside Sample dir" This reverts commit 88b976a. * Fixed imports; * Improved Connect method in IWalletProvider: now it didn't redirect to wallet app if user is logged in; * Rollback backward compability with ITezosAPI interface; * Types fix; * Added IDataProviderConfig and TzKTProviderConfig implementation; API tests fix; * Added test runner with GH actions * Added obsolete StartCoroutineWrapper for backward compability; * Examplemanager uses obsolete StartCoroutineWrapper for backward compability; --------- Co-authored-by: mismirnov <[email protected]>
- Loading branch information
Showing
97 changed files
with
5,350 additions
and
1,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Run Unity Tests | ||
on: [ pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
tests: | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: copy dir to new dir | ||
run: | | ||
pwd | ||
folderName=$(echo "${PWD##*/}") | ||
rsync -r "$GITHUB_WORKSPACE" "copiedProject" | ||
ls -F "copiedProject/$folderName" | ||
- name: Run tests | ||
id: runTests | ||
uses: trudeaua21/unity-test-runner@main | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
projectPath: ./copiedProject/tezos-unity-sdk | ||
unityVersion: "2021.3.22f1" | ||
testMode: all | ||
# coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+tezos-unity-sdk.*,-*Tests*' | ||
artifactsPath: result-artifacts | ||
packageMode: true | ||
|
||
# Upload results | ||
- name: Upload test results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Package Coverage results (all) | ||
path: ${{ steps.runTests.outputs.artifactsPath }} | ||
retention-days: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.