Skip to content

Commit

Permalink
Stamp api
Browse files Browse the repository at this point in the history
Fixes

Fixes

FIxes
  • Loading branch information
Boldizsar Mezei committed Sep 28, 2023
1 parent 8336161 commit 5a53d5c
Show file tree
Hide file tree
Showing 63 changed files with 1,819 additions and 231 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/functions_emulated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ jobs:
npm run test:ci -- --findRelatedTests test/controls/token-trade.buy.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token-distribution.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token-distribution-auto-trigger.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/stamp.control.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/stake.reward.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/space.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/proposal.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/order.spec.ts
npm run test:ci -- --findRelatedTests test/controls/proposal.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -175,13 +175,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --findRelatedTests test/controls/order.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/nft.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/nft-bidding.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/member.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/collection.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/address.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.vote.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.update.spec.ts
npm run test:ci -- --findRelatedTests test/controls/token/token.vote.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -216,13 +216,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --findRelatedTests test/controls/token/token.update.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.set.to.sale.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.rank.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.create.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.cancel.pub.sale.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.airdrop.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/token/token.airdrop.claim.spec.ts
npm run test:ci -- --findRelatedTests test/controls/token/token.airdrop.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -257,6 +257,7 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --findRelatedTests test/controls/token/token.airdrop.claim.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/project/project.deactivate.spec.ts &&
npm run test:ci -- --findRelatedTests test/controls/project/project.create.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/functions_online-emulated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ jobs:
firebase emulators:exec "
npm run test-online:ci -- --findRelatedTests test/controls/token-distribution.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token-distribution-auto-trigger.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/stamp.control.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/stake.reward.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/space.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/proposal.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/order.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/nft.spec.ts
npm run test-online:ci -- --findRelatedTests test/controls/order.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -177,13 +177,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --findRelatedTests test/controls/nft.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/nft-bidding.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/member.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/collection.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/address.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.vote.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.update.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.set.to.sale.spec.ts
npm run test-online:ci -- --findRelatedTests test/controls/token/token.update.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -218,13 +218,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --findRelatedTests test/controls/token/token.set.to.sale.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.rank.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.create.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.cancel.pub.sale.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.airdrop.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/token/token.airdrop.claim.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/project/project.deactivate.spec.ts
npm run test-online:ci -- --findRelatedTests test/controls/token/token.airdrop.claim.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -259,6 +259,7 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --findRelatedTests test/controls/project/project.deactivate.spec.ts &&
npm run test-online:ci -- --findRelatedTests test/controls/project/project.create.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
- name: Archive firestore data
Expand Down
Loading

0 comments on commit 5a53d5c

Please sign in to comment.