Skip to content

Commit

Permalink
Auction
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
Boldizsar Mezei committed Oct 26, 2023
1 parent 6e32b81 commit 502c91c
Show file tree
Hide file tree
Showing 68 changed files with 2,639 additions and 1,564 deletions.
48 changes: 26 additions & 22 deletions .github/workflows/functions_emulated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
firebase emulators:exec "
npm run test:ci -- --forceExit --findRelatedTests ./test/auth.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/address.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/auction/auction.bid.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/collection.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/member.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft-bidding.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/order.spec.ts
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.extends.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 @@ -93,13 +93,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.finalize.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.set.for.sale.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/order.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/project/project.create.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/project/project.deactivate.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/proposal.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/space.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/stake.reward.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/stamp.control.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution-auto-trigger.spec.ts
npm run test:ci -- --forceExit --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 @@ -134,13 +134,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/space.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/stake.reward.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/stamp.control.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution-auto-trigger.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.buy.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.sell.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.trigger.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token.expired.sale.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token.order.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.claim.spec.ts
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.sell.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 -- --forceExit --findRelatedTests ./test/controls/token-trade.trigger.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token.expired.sale.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token.order.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.claim.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.cancel.pub.sale.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.create.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.rank.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.set.to.sale.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.update.spec.ts
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.create.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 -- --forceExit --findRelatedTests ./test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.rank.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.set.to.sale.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.update.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/token/token.vote.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/workflow-online.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/workflow.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/floor-price.cron.only.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/nft-stake.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/proposal.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/db.roll.spec.ts
npm run test:ci -- --forceExit --findRelatedTests ./test/controls/workflow.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,10 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/floor-price.cron.only.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/nft-stake.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/cron/proposal.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/db.roll.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/stake/delete.stake.reward.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/stake/stake.reward.cron.spec.ts &&
npm run test:ci -- --forceExit --findRelatedTests ./test/storage/resize.img.spec.ts
Expand Down
48 changes: 26 additions & 22 deletions .github/workflows/functions_online-emulated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
firebase emulators:exec "
npm run test-online:ci -- --forceExit --findRelatedTests ./test/auth.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/address.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/auction/auction.bid.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/collection.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/member.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft-bidding.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/order.spec.ts
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.extends.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 @@ -95,13 +95,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.finalize.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.bidding.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/nft/nft.set.for.sale.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/order.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/project/project.create.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/project/project.deactivate.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/proposal.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/space.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/stake.reward.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/stamp.control.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution-auto-trigger.spec.ts
npm run test-online:ci -- --forceExit --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 @@ -136,13 +136,13 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/space.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/stake.reward.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/stamp.control.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution-auto-trigger.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-distribution.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.buy.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.sell.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.trigger.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token.expired.sale.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token.order.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.claim.spec.ts
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token-trade.sell.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 -- --forceExit --findRelatedTests ./test/controls/token-trade.trigger.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token.expired.sale.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token.order.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.claim.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.airdrop.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.cancel.pub.sale.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.create.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.rank.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.set.to.sale.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.update.spec.ts
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.create.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 -- --forceExit --findRelatedTests ./test/controls/token/token.order.and.claim.air.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.rank.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.set.to.sale.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.update.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/token/token.vote.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/workflow-online.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/workflow.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/cron/nft-stake.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/cron/proposal.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/db.roll.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/stake/delete.stake.reward.spec.ts
npm run test-online:ci -- --forceExit --findRelatedTests ./test/controls/workflow.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,10 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS="./test-service-account-key.json"
npm run milestone-sync &
firebase emulators:exec "
npm run test-online:ci -- --forceExit --findRelatedTests ./test/cron/nft-stake.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/cron/proposal.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/db.roll.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/stake/delete.stake.reward.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/stake/stake.reward.cron.spec.ts &&
npm run test-online:ci -- --forceExit --findRelatedTests ./test/storage/resize.img.spec.ts
" --project dev --only functions,firestore,storage,ui,auth --export-on-exit=./firestore-data
Expand Down
Loading

0 comments on commit 502c91c

Please sign in to comment.