cal.pub0.org/.github/workflows/e2e-embed.yml

71 lines
3.0 KiB
YAML
Raw Normal View History

name: E2E Embed Core tests and booking flow(for non-embed as well)
on:
2023-01-12 23:01:33 +00:00
workflow_call:
Refactors Github Workflows (#7267) * Testing * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Tests * Update production-build.yml * Update pr.yml * Update pr.yml * Update nextjs-bundle-analysis.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * test * Test * Revert * TEST * Update production-build.yml * Update production-build.yml * DRY * Fixes * Update action.yml * Update action.yml * Fixes * WIP * Update action.yml * Update action.yml * Abstract playwright cache * Update yarn-e2e.yml * Adds type check * Update pr.yml * Tests * Anotha one * Update action.yml * Update pr.yml * Update action.yml * Cleanup * Update package.json * Update yarn-e2e.yml * Test * Cleanup * Update check-types.yml * Update yarn-install.yml * Update yarn-install.yml * Update yarn-install.yml * Fixes * Fixes * Update pr.yml * Fixes * Removed required checks * WIP * Adjustments * Update action.yml * Update pr.yml * Comments out buildjet * Caches DB * Update lint.yml * Update action.yml * Update action.yml * Update action.yml * Upgrades actions/checkout@v3 * Build fixes * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Fixes? * Inherit secrets * Re-enables buildjet * Adds missing build cache to e2e * Revert "Re-enables buildjet" This reverts commit badd655e1edf8c2942582439f9fd48c00f892c38. * Fixes build env * Revert "Revert "Re-enables buildjet"" This reverts commit a1d78e7c12618d14b23bd50540ee005c6a550e7b. * Update .github/actions/cache-db/action.yml * Define CODEOWNERS file (#7245) * Start defining CODEOWNERS file * Update CODEOWNERS --------- Co-authored-by: Omar López <zomars@me.com> * improved brand colors on booking page (#7269) --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-02-22 00:10:39 +00:00
jobs:
2022-07-04 21:27:22 +00:00
e2e-embed:
timeout-minutes: 20
name: E2E Embed Core (${{ matrix.shard }}/${{ strategy.job-total }})
runs-on: buildjet-4vcpu-ubuntu-2204
services:
postgres:
image: postgres:12.1
env:
POSTGRES_USER: postgres
POSTGRES_DB: calendso
ports:
- 5432:5432
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- 8025:8025
- 1025:1025
strategy:
fail-fast: false
matrix:
## There aren't many tests for embed-core. So, just start with 2 shards. Increase if needed.
shard: [1, 2]
steps:
Refactors Github Workflows (#7267) * Testing * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Tests * Update production-build.yml * Update pr.yml * Update pr.yml * Update nextjs-bundle-analysis.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * test * Test * Revert * TEST * Update production-build.yml * Update production-build.yml * DRY * Fixes * Update action.yml * Update action.yml * Fixes * WIP * Update action.yml * Update action.yml * Abstract playwright cache * Update yarn-e2e.yml * Adds type check * Update pr.yml * Tests * Anotha one * Update action.yml * Update pr.yml * Update action.yml * Cleanup * Update package.json * Update yarn-e2e.yml * Test * Cleanup * Update check-types.yml * Update yarn-install.yml * Update yarn-install.yml * Update yarn-install.yml * Fixes * Fixes * Update pr.yml * Fixes * Removed required checks * WIP * Adjustments * Update action.yml * Update pr.yml * Comments out buildjet * Caches DB * Update lint.yml * Update action.yml * Update action.yml * Update action.yml * Upgrades actions/checkout@v3 * Build fixes * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Fixes? * Inherit secrets * Re-enables buildjet * Adds missing build cache to e2e * Revert "Re-enables buildjet" This reverts commit badd655e1edf8c2942582439f9fd48c00f892c38. * Fixes build env * Revert "Revert "Re-enables buildjet"" This reverts commit a1d78e7c12618d14b23bd50540ee005c6a550e7b. * Update .github/actions/cache-db/action.yml * Define CODEOWNERS file (#7245) * Start defining CODEOWNERS file * Update CODEOWNERS --------- Co-authored-by: Omar López <zomars@me.com> * improved brand colors on booking page (#7269) --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-02-22 00:10:39 +00:00
- uses: actions/checkout@v3
- uses: ./.github/actions/dangerous-git-checkout
2022-06-13 21:16:58 +00:00
- run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV
Refactors Github Workflows (#7267) * Testing * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Tests * Update production-build.yml * Update pr.yml * Update pr.yml * Update nextjs-bundle-analysis.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * test * Test * Revert * TEST * Update production-build.yml * Update production-build.yml * DRY * Fixes * Update action.yml * Update action.yml * Fixes * WIP * Update action.yml * Update action.yml * Abstract playwright cache * Update yarn-e2e.yml * Adds type check * Update pr.yml * Tests * Anotha one * Update action.yml * Update pr.yml * Update action.yml * Cleanup * Update package.json * Update yarn-e2e.yml * Test * Cleanup * Update check-types.yml * Update yarn-install.yml * Update yarn-install.yml * Update yarn-install.yml * Fixes * Fixes * Update pr.yml * Fixes * Removed required checks * WIP * Adjustments * Update action.yml * Update pr.yml * Comments out buildjet * Caches DB * Update lint.yml * Update action.yml * Update action.yml * Update action.yml * Upgrades actions/checkout@v3 * Build fixes * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Fixes? * Inherit secrets * Re-enables buildjet * Adds missing build cache to e2e * Revert "Re-enables buildjet" This reverts commit badd655e1edf8c2942582439f9fd48c00f892c38. * Fixes build env * Revert "Revert "Re-enables buildjet"" This reverts commit a1d78e7c12618d14b23bd50540ee005c6a550e7b. * Update .github/actions/cache-db/action.yml * Define CODEOWNERS file (#7245) * Start defining CODEOWNERS file * Update CODEOWNERS --------- Co-authored-by: Omar López <zomars@me.com> * improved brand colors on booking page (#7269) --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-02-22 00:10:39 +00:00
- uses: ./.github/actions/yarn-install
- uses: ./.github/actions/yarn-playwright-install
GH actions improvements commit 3ea36a4b9626c99bf343caf8bacb756a09699990 Author: zomars <zomars@me.com> Date: Tue Feb 28 13:26:58 2023 -0700 Revert "One more time" This reverts commit fd8b559a135820567f40dbb47a4b4dfc2ef44755. commit fd8b559a135820567f40dbb47a4b4dfc2ef44755 Author: zomars <zomars@me.com> Date: Tue Feb 28 13:00:49 2023 -0700 One more time commit e8fe71d795a74c00eb59139389df454a2ff8d807 Author: zomars <zomars@me.com> Date: Tue Feb 28 12:40:28 2023 -0700 Fix? commit 84517e6ddbca2248b72d6cd912c2c32f9efb743c Author: zomars <zomars@me.com> Date: Tue Feb 28 12:38:20 2023 -0700 Revert "Consolitades setup step" This reverts commit 5e8d1983cc5ac309fa6875a2fee77aa6287b7151. commit 5e8d1983cc5ac309fa6875a2fee77aa6287b7151 Author: zomars <zomars@me.com> Date: Tue Feb 28 12:34:52 2023 -0700 Consolitades setup step commit 8e732c4cf9662daf84ab8c3acf702292fb6dd4e5 Merge: 00485a9d3 12f2c1f43 Author: zomars <zomars@me.com> Date: Tue Feb 28 12:25:18 2023 -0700 Merge remote-tracking branch 'upstream/main' commit 00485a9d3313d415906141493febdbf56dff649d Author: zomars <zomars@me.com> Date: Tue Feb 28 12:08:29 2023 -0700 Update action.yml commit 95c30af12f91b4cc310f0a61b5d584591bebc3ee Author: zomars <zomars@me.com> Date: Tue Feb 28 12:05:42 2023 -0700 Update action.yml commit e56d8a73e25c664afb0066aedc792250abc3b86a Author: zomars <zomars@me.com> Date: Tue Feb 28 11:09:21 2023 -0700 Removed setup commit ff83d88ac6cd7338204ce93a84c285189bd6d352 Author: zomars <zomars@me.com> Date: Tue Feb 28 10:54:30 2023 -0700 Is this redundant? commit b40b65e8da1238abe097913a3422f24be342c27e Merge: 774ba24ae 29e9bd0ee Author: zomars <zomars@me.com> Date: Tue Feb 28 10:53:25 2023 -0700 Merge remote-tracking branch 'upstream/main' commit 774ba24aeb1d0fde55963fe6aecdf3fddddfa497 Merge: 450812044 9c794bac1 Author: zomars <zomars@me.com> Date: Tue Feb 28 10:18:53 2023 -0700 Merge remote-tracking branch 'upstream/main' commit 450812044137b665eb90422daf58e8e042cf1492 Author: Omar López <zomars@me.com> Date: Tue Feb 28 07:35:02 2023 -0700 Update action.yml commit c1d6937f4c22039138284985a4da723ac4ea7803 Author: Omar López <zomars@me.com> Date: Tue Feb 28 07:19:52 2023 -0700 Update action.yml commit de3ec8b5d8a94ae3cf9aa1e7f3accdf5a8101159 Author: Omar López <zomars@me.com> Date: Tue Feb 28 07:05:39 2023 -0700 Update action.yml commit b6f6382f1554394ea743acc92824fd7e222ee97d Author: Omar López <zomars@me.com> Date: Tue Feb 28 06:30:55 2023 -0700 Update action.yml commit e79c03c7a31930dd99ccd9f5cdc156b808c869a5 Author: Omar López <zomars@me.com> Date: Tue Feb 28 06:06:51 2023 -0700 Update action.yml commit 55cc76f526aefa83a8275b06ad3f55b6d201e8a6 Author: zomars <zomars@me.com> Date: Mon Feb 27 21:09:05 2023 -0700 Update pr.yml commit ffc5d245613f1364e302a4c91e32490d8621b987 Merge: 2c41c16af 4eecd4220 Author: zomars <zomars@me.com> Date: Mon Feb 27 21:03:22 2023 -0700 Merge branch 'up-main' commit 2c41c16afc2f1c4c0ad77f1064b7e1369146ac48 Author: zomars <zomars@me.com> Date: Mon Feb 27 20:23:13 2023 -0700 Updates webhook response commit cc5ef15b431226d97d3128e8460e9b6f505cba44 Author: zomars <zomars@me.com> Date: Mon Feb 27 20:11:35 2023 -0700 Typefix commit 50be9255cb8f839c2e8914e03a963c63b7dd5948 Author: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Mon Feb 27 15:45:40 2023 -0500 Fix - add team members to emails (#7207) * On booking add team members & translation * Add team members to round robin create * Only update calendars on reschedule if there is a calendar reference * Send email on reschedules * Send team email on cancelled event * Add team members to calendar event description * Clean up * Convert other emails to organizer & teams * Type check fixes * More type fixes * Change organizer scheduled input to an object * early return updateCalendarEvent * Introduce team member type * Fix type errors * Put team members before attendees * Remove lodash cloneDeep * Update packages/core/EventManager.ts Co-authored-by: Omar López <zomars@me.com> * Remove booking select object * Revert "Remove booking select object" This reverts commit 9f121ff4ebbaec9a0643111f96c5337b930ddd5b. * Refactor email manager (#7270) Co-authored-by: zomars <zomars@me.com> * Type change * Remove conditional check for updateAllCalendarEvents --------- Co-authored-by: zomars <zomars@me.com> commit c7d22a851c584600952e62f8a383a52bee1ad87e Author: Omar López <zomars@me.com> Date: Mon Feb 27 12:39:26 2023 -0700 Update viewer.tsx (#7428) commit db5b802a157e4e4abdf5cb55149eb9a4d4e19a12 Author: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Mon Feb 27 13:47:21 2023 -0500 Add destination calendar name to DestinationCalendarSelector (#6701) * Add destination calendar name * Type fix * Search through calendars only for destination calendar credential * Refactor get connected calendars * Clean up --------- Co-authored-by: zomars <zomars@me.com> commit 27512b16d2e189826a7719cbf7cec1fd55ad419a Author: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Mon Feb 27 02:24:43 2023 -0500 Team Workflows (#7038) Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> commit 7b47956a34b9e474c9667ce0f1dbc9a45991a991 Author: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Sun Feb 26 00:45:05 2023 +0530 feat: get country code from ip geolocation (#6880) * feat: get coutnry code from ip geolocation Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * fix: create new api route for fetching code Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * chore: replace city with country Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * refactor: create hook for country Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> commit 658ccc651743c81ab08b4a8a5fecdfd3149ef518 Author: Esaú Morais <55207584+esau-morais@users.noreply.github.com> Date: Sat Feb 25 16:07:41 2023 -0300 Update settings back button redirect link (#7403) * fix(schedule): close on click #7143 * fix(EventSetupTab): validLocations length will always match validLocations length #7138 * fix(SettingsLayout): go back to right route #7379 commit b5849ca30fde97a986cb697220b47712c24834e3 Author: Omar López <zomars@me.com> Date: Fri Feb 24 20:57:49 2023 -0700 Zomars/cal 884 paid events not sending the link (#7318) * WIP * Sends correct emails for paid bookings * Update PaymentService.ts * Update webhook.ts * Update webhook.ts commit a57369d521b3e0c278e72a4002842a2267a72636 Author: zomars <zomars@me.com> Date: Mon Feb 27 17:56:55 2023 -0700 Whitespace!! commit 4d74fa89bf3967696ffd72191b387ad48cb29240 Author: zomars <zomars@me.com> Date: Mon Feb 27 16:36:08 2023 -0700 fix commit fe1724accc81a46b12c1f6a3cdf1669908a4df42 Author: zomars <zomars@me.com> Date: Mon Feb 27 16:23:24 2023 -0700 Build fix commit 0ce2c654cefb505bc0772cbd424c2d1887e009c1 Author: zomars <zomars@me.com> Date: Mon Feb 27 16:17:48 2023 -0700 LFG commit d8be3316799ed7b032f9539e2c98d938872e7483 Author: zomars <zomars@me.com> Date: Mon Feb 27 15:59:52 2023 -0700 Please commit d27f36f8896269f1b4083d4e5fb5443bfb86e49a Author: zomars <zomars@me.com> Date: Mon Feb 27 15:41:33 2023 -0700 Pls commit eb4d01eff2210a087bd69b0756784c2ad9b0647b Author: zomars <zomars@me.com> Date: Mon Feb 27 15:28:01 2023 -0700 Test commit c3fd449cfda8ba3c8a43718591f44a36fa95e4ae Author: zomars <zomars@me.com> Date: Mon Feb 27 14:07:52 2023 -0700 a commit 21cc8834157c9cca6c6c49ea54f1b227a29264db Author: zomars <zomars@me.com> Date: Sat Feb 25 09:35:42 2023 -0700 Fingers crossed commit f674d7f99b752b9a5cf6c167d10b744d2b7401af Author: zomars <zomars@me.com> Date: Sat Feb 25 09:31:44 2023 -0700 cache-build not skipping commit 3cbbead2f2707488c53ac9f982aa8e704ff93e33 Author: zomars <zomars@me.com> Date: Sat Feb 25 09:16:16 2023 -0700 One more time commit 20672bfbc8f039ae5e699465bf7cab27dde8ba1b Author: zomars <zomars@me.com> Date: Sat Feb 25 09:00:51 2023 -0700 Caching is hard commit a6ff8974a4571da10fac48f2555ed1f92f9b0b9d Author: zomars <zomars@me.com> Date: Sat Feb 25 08:45:09 2023 -0700 Running out of ideas commit d7577926add336d806509231c35f41f5bf826f22 Author: zomars <zomars@me.com> Date: Sat Feb 25 08:31:54 2023 -0700 Possible caching conflicts commit 1cc8e6e8977f255f0095c0f03b5ad11195220a35 Author: zomars <zomars@me.com> Date: Sat Feb 25 08:05:35 2023 -0700 e2e commit 4636609be2efe6a028d1faae180f992376021862 Author: zomars <zomars@me.com> Date: Sat Feb 25 08:03:08 2023 -0700 Cache fixes commit 6db3b1afbe3d2b1ccecce6d83f5410f1ffa4453f Author: zomars <zomars@me.com> Date: Sat Feb 25 07:49:50 2023 -0700 Test commit 8d2587bc3a72daaba4e74b2ee7878199451b3577 Author: zomars <zomars@me.com> Date: Fri Feb 24 21:20:27 2023 -0700 db-cache fixes commit 0991c54f36a47d05b0baab036ab3ed1039c59154 Author: zomars <zomars@me.com> Date: Fri Feb 24 21:07:13 2023 -0700 Adds skipping steps commit e8e437ba0178c5cab54613e1c1f1cac1cd0d73ad Author: zomars <zomars@me.com> Date: Fri Feb 24 21:04:38 2023 -0700 Fixes commit d5912767bd3a5b57c9150e0b851f51b2d9f6750b Author: zomars <zomars@me.com> Date: Fri Feb 24 20:48:15 2023 -0700 Cache fixes commit 88aa6d560ecb9e8f4603344454fabd68bc3fa990 Author: zomars <zomars@me.com> Date: Fri Feb 24 20:17:23 2023 -0700 Fix commit 594d8b5efe0f320de13862dba552e8fffb9d2cde Author: zomars <zomars@me.com> Date: Fri Feb 24 20:17:23 2023 -0700 Fix commit 0b29558a6c248dce961cb462a46f5047ef917545 Author: zomars <zomars@me.com> Date: Fri Feb 24 20:12:45 2023 -0700 Fix commit f80259232c6b6f58556d2f39212329d87c3468ca Author: zomars <zomars@me.com> Date: Fri Feb 24 20:09:53 2023 -0700 Fix commit 73b02c2c920e2f0f9996d1cf6580fb4195ec69e4 Author: zomars <zomars@me.com> Date: Fri Feb 24 20:04:07 2023 -0700 Fix commit 4c375c89523651779b47f0fc53e0effb78300a08 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:59:15 2023 -0700 FFS commit fbe8eb969f4a22840b8a518ee87892b488964638 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:56:59 2023 -0700 Fixes commit 619b26de0205c4094966fe36b40ca37def743309 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:53:39 2023 -0700 Fix commit 737a29b80a53b0fdda953fa9c9068da60b018fcb Author: zomars <zomars@me.com> Date: Fri Feb 24 19:51:38 2023 -0700 Fix commit a9cf1fd3830306c246283debfb8654f011053688 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:49:20 2023 -0700 Another fix commit 0770c5b8141dc819bdfb065ba41793edfb9660d2 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:45:41 2023 -0700 Fix commit efb9d0ccd48446ddf66eb84bd45dedb36132e025 Author: zomars <zomars@me.com> Date: Fri Feb 24 19:43:42 2023 -0700 Fix env setter commit 5cda52f1f95cbfcaf34f8b196101834e6adcda1a Author: zomars <zomars@me.com> Date: Fri Feb 24 19:23:11 2023 -0700 Add env-cache commit ad8e36891e3adb9621202a054e188727f9a2beac Author: zomars <zomars@me.com> Date: Fri Feb 24 18:56:27 2023 -0700 Create env file workflow
2023-02-28 20:52:50 +00:00
- uses: ./.github/actions/cache-db
Refactors Github Workflows (#7267) * Testing * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Tests * Update production-build.yml * Update pr.yml * Update pr.yml * Update nextjs-bundle-analysis.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update production-build.yml * Update pr.yml * Update pr.yml * Update pr.yml * Update pr.yml * test * Test * Revert * TEST * Update production-build.yml * Update production-build.yml * DRY * Fixes * Update action.yml * Update action.yml * Fixes * WIP * Update action.yml * Update action.yml * Abstract playwright cache * Update yarn-e2e.yml * Adds type check * Update pr.yml * Tests * Anotha one * Update action.yml * Update pr.yml * Update action.yml * Cleanup * Update package.json * Update yarn-e2e.yml * Test * Cleanup * Update check-types.yml * Update yarn-install.yml * Update yarn-install.yml * Update yarn-install.yml * Fixes * Fixes * Update pr.yml * Fixes * Removed required checks * WIP * Adjustments * Update action.yml * Update pr.yml * Comments out buildjet * Caches DB * Update lint.yml * Update action.yml * Update action.yml * Update action.yml * Upgrades actions/checkout@v3 * Build fixes * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Update nextjs-bundle-analysis.yml * Fixes? * Inherit secrets * Re-enables buildjet * Adds missing build cache to e2e * Revert "Re-enables buildjet" This reverts commit badd655e1edf8c2942582439f9fd48c00f892c38. * Fixes build env * Revert "Revert "Re-enables buildjet"" This reverts commit a1d78e7c12618d14b23bd50540ee005c6a550e7b. * Update .github/actions/cache-db/action.yml * Define CODEOWNERS file (#7245) * Start defining CODEOWNERS file * Update CODEOWNERS --------- Co-authored-by: Omar López <zomars@me.com> * improved brand colors on booking page (#7269) --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-02-22 00:10:39 +00:00
- uses: ./.github/actions/cache-build
- name: Run Tests
run: yarn e2e:embed --shard=${{ matrix.shard }}/${{ strategy.job-total }}
env:
ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}
2023-07-28 15:24:53 +00:00
CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}
DATABASE_URL: ${{ secrets.CI_DATABASE_URL }}
DEPLOYSENTINEL_API_KEY: ${{ secrets.DEPLOYSENTINEL_API_KEY }}
E2E_TEST_APPLE_CALENDAR_EMAIL: ${{ secrets.E2E_TEST_APPLE_CALENDAR_EMAIL }}
E2E_TEST_APPLE_CALENDAR_PASSWORD: ${{ secrets.E2E_TEST_APPLE_CALENDAR_PASSWORD }}
2023-07-28 15:24:53 +00:00
GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}
GOOGLE_LOGIN_ENABLED: ${{ vars.CI_GOOGLE_LOGIN_ENABLED }}
NEXTAUTH_SECRET: ${{ secrets.CI_NEXTAUTH_SECRET }}
NEXTAUTH_URL: ${{ secrets.CI_NEXTAUTH_URL }}
NEXT_PUBLIC_IS_E2E: ${{ vars.CI_NEXT_PUBLIC_IS_E2E }}
NEXT_PUBLIC_STRIPE_PUBLIC_KEY: ${{ secrets.CI_NEXT_PUBLIC_STRIPE_PUBLIC_KEY }}
NEXT_PUBLIC_WEBAPP_URL: ${{ vars.CI_NEXT_PUBLIC_WEBAPP_URL }}
NEXT_PUBLIC_WEBSITE_URL: ${{ vars.CI_NEXT_PUBLIC_WEBSITE_URL }}
PAYMENT_FEE_FIXED: ${{ vars.CI_PAYMENT_FEE_FIXED }}
PAYMENT_FEE_PERCENTAGE: ${{ vars.CI_PAYMENT_FEE_PERCENTAGE }}
SAML_ADMINS: ${{ secrets.CI_SAML_ADMINS }}
SAML_DATABASE_URL: ${{ secrets.CI_SAML_DATABASE_URL }}
STRIPE_PRIVATE_KEY: ${{ secrets.CI_STRIPE_PRIVATE_KEY }}
STRIPE_CLIENT_ID: ${{ secrets.CI_STRIPE_CLIENT_ID }}
STRIPE_WEBHOOK_SECRET: ${{ secrets.CI_STRIPE_WEBHOOK_SECRET }}
SENDGRID_API_KEY: ${{ secrets.CI_SENDGRID_API_KEY }}
SENDGRID_EMAIL: ${{ secrets.CI_SENDGRID_EMAIL }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
Upgrades yarn v1 to v3. Improves CI times by 2x (#7738) * Create env file workflow * Add env-cache * Fix env setter * Fix * Another fix * Fix * Fix * Fixes * FFS * Fix * Fix * Fix * Fix * Fix * Cache fixes * Fixes * Adds skipping steps * db-cache fixes * Test * Cache fixes * e2e * Possible caching conflicts * Running out of ideas * Caching is hard * One more time * cache-build not skipping * Fingers crossed * a * Test * Pls * Please * LFG * Build fix * fix * Whitespace!! * Zomars/cal 884 paid events not sending the link (#7318) * WIP * Sends correct emails for paid bookings * Update PaymentService.ts * Update webhook.ts * Update webhook.ts * Update settings back button redirect link (#7403) * fix(schedule): close on click #7143 * fix(EventSetupTab): validLocations length will always match validLocations length #7138 * fix(SettingsLayout): go back to right route #7379 * feat: get country code from ip geolocation (#6880) * feat: get coutnry code from ip geolocation Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * fix: create new api route for fetching code Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * chore: replace city with country Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * refactor: create hook for country Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * Team Workflows (#7038) Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> * Add destination calendar name to DestinationCalendarSelector (#6701) * Add destination calendar name * Type fix * Search through calendars only for destination calendar credential * Refactor get connected calendars * Clean up --------- Co-authored-by: zomars <zomars@me.com> * Update viewer.tsx (#7428) * Fix - add team members to emails (#7207) * On booking add team members & translation * Add team members to round robin create * Only update calendars on reschedule if there is a calendar reference * Send email on reschedules * Send team email on cancelled event * Add team members to calendar event description * Clean up * Convert other emails to organizer & teams * Type check fixes * More type fixes * Change organizer scheduled input to an object * early return updateCalendarEvent * Introduce team member type * Fix type errors * Put team members before attendees * Remove lodash cloneDeep * Update packages/core/EventManager.ts Co-authored-by: Omar López <zomars@me.com> * Remove booking select object * Revert "Remove booking select object" This reverts commit 9f121ff4ebbaec9a0643111f96c5337b930ddd5b. * Refactor email manager (#7270) Co-authored-by: zomars <zomars@me.com> * Type change * Remove conditional check for updateAllCalendarEvents --------- Co-authored-by: zomars <zomars@me.com> * Typefix * Updates webhook response * Update pr.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Is this redundant? * Removed setup * Update action.yml * Update action.yml * Consolitades setup step * Revert "Consolitades setup step" This reverts commit 5e8d1983cc5ac309fa6875a2fee77aa6287b7151. * Fix? * One more time * Revert "One more time" This reverts commit fd8b559a135820567f40dbb47a4b4dfc2ef44755. * Benchmarking buildjet * Update action.yml * Re-introduce setup * Adds embeds to missing pro cache * Lint fixes * Adds prettier ignore * Upgrades to yarn 3 * Updates lockfile * Reverts CI to ubuntu * Testing new yarn install * We cannot use immutable due to our private submodules * Adds CI skip * Fixes * Adds plugin * Forces local embed package * Moves eslint to root * Update yarn.lock * Playwright fixes * Embed test fixes * Splits embed react tests * Splits embed react tests * Removes install step to benchmark * Update playwright.config.ts * One playwright config for all * More test fixes * Update basic.e2e.ts * Added typescript as a global monorepo dev * Update to v18 * Update yarn.lock * Update env-create-file.yml * Update .github/workflows/pr.yml --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> Co-authored-by: Esaú Morais <55207584+esau-morais@users.noreply.github.com> Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-03-15 22:01:04 +00:00
- name: Upload Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: embed-core-results-${{ matrix.shard }}_${{ strategy.job-total }}
path: test-results