Commit Graph

38 Commits

Author SHA1 Message Date
Sidharth Vinod 962ff73fc3
Batch by commit 2023-07-07 15:56:30 +05:30
Sidharth Vinod 4d0c461fa3
chore: Reduce codecov pushes
pushes to non-develop branches will not send coverage reports.
This might reduce the coverage variability issue we're having.
2023-07-06 11:32:37 +05:30
Sidharth Vinod 288f51216d
Add codecov token 2023-07-03 21:01:04 +05:30
Sidharth Vinod 29c866b09a
Don't fail CI on codecov error 2023-07-02 13:22:00 +05:30
Sidharth Vinod 78377daf2f
Rename workflow jobs 2023-07-02 10:14:35 +05:30
Sidharth Vinod 4a95589b5a
Add `merge_group` to CI triggers 2023-07-02 10:03:31 +05:30
Sidharth Vinod 3340240b9f
chore: Run codecov based on E2E test status 2023-06-17 23:23:00 +05:30
Sidharth Vinod f8540e9468
Upload E2E 2023-06-17 17:54:13 +05:30
Sidharth Vinod 2ad32f9208
Fix path name 2023-06-17 17:44:27 +05:30
Sidharth Vinod 1e84668270
Add codecov to E2E 2023-06-17 17:34:19 +05:30
Alois Klink f0a73696f5
ci(e2e): skip caching in actions/setup-node
Skip caching `pnpm` in `actions/setup-node`,
because the `cypress-io/github-action` natively supports caching `pnpm`,
as of [cypress-io/github-action@v4.2.0][1].

[1]: https://github.com/cypress-io/github-action/releases/tag/v4.2.0
2023-03-06 22:57:22 +00:00
Sidharth Vinod 8f8ae64ced
upload error snapshots 2023-01-16 01:23:42 +05:30
Sidharth Vinod 1570eb7b73
chore: Bump node to v18 2022-10-10 20:13:50 +08:00
Alois Klink 693616b00d ci(e2e): Skip pnpm cache if skipping cypress run
When running the e2e action from a fork, we prevent multi-processing
in the E2E cypress tests skipping runs that aren't
matrix.container == 1.

However, this means that the pnpm cache folder isn't created, causing
the cache action to throw an error.

To fix this, we also skip building Node/cache setup step.

Fixes: f60c7fff65
2022-09-28 20:19:08 +01:00
Alois Klink 30f6550e61 ci(e2e): remove `headless` arg from cypress run
Since [cypress-io/github-action v4.0.1][1], the headless argument
no longer exists.

Since Cypress v8.0.0, it didn't do anything, since this was the
default behaviour.

[1]: https://github.com/cypress-io/github-action/releases/tag/v4.0.1
2022-09-28 20:12:40 +01:00
Knut Sveidqvist f60c7fff65 Merge branch 'develop' into 3061_making_a_monorepo 2022-09-28 14:26:07 +02:00
Alois Klink 56e1411d37 ci(e2e): fix e2e action when running from fork
PRs from forks don't have acess to the secrets.CYPRESS_RECORD_KEY.
Because of this, we need to disable `recording`.
2022-09-25 20:11:42 +01:00
Alois Klink 24d46fb936 ci(e2e): fix e2e tests CI to use pnpm
We need to upgrade cypress-io/github-action to v4.2.0
as that's the first version that supported pnpm.

See https://github.com/cypress-io/github-action/releases/tag/v4.2.0
2022-09-25 20:02:23 +01:00
Sidharth Vinod 55d706323d
CI Concurrency 4 2022-09-21 10:42:27 +05:30
Sidharth Vinod 51df0a68cc
Remove build 2022-09-21 10:41:47 +05:30
Sidharth Vinod ca053e0a11
Parallel e2e 2022-09-21 10:36:38 +05:30
Alois Klink 20d22a6468 ci(e2e): re-enable e2e tests
I've removed the coverage upload bit, since although the
[@cypress/code-coverage][1] plugin is pretty easy to setup,
it requires babel, which we're about to remove and replace
with ESBuild.
2022-09-14 04:15:52 +01:00
Knut Sveidqvist 1ad2fad542 Tmp disabling of the e2e in the build 2022-04-07 19:12:55 +02:00
Knut Sveidqvist ada3f8e5e6 Removing pery usiage from e2e tests 2022-04-07 18:41:28 +02:00
dependabot[bot] 5f3bb4aeeb
chore(deps): bump actions/checkout from 2 to 3 (#2803)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 19:18:05 +01:00
dependabot[bot] fd1cd908fe
chore(deps): bump actions/setup-node from 2 to 3 (#2784)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 08:17:30 +01:00
MOREL Matthieu 55faa3cb1a yarn build and adapt e2e tests
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-18 16:49:00 +02:00
Matthieu MOREL 9914e9b1ab
Update e2e.yml 2021-07-29 12:04:26 +02:00
dependabot[bot] 169800b209
Bump actions/setup-node from 2.2.0 to 2.3.0 (#25)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 09:57:30 +02:00
dependabot[bot] 3f8ff1a66c
Bump actions/cache from 2.1.5 to 2.1.6 (#4)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-15 19:05:38 +02:00
Knut Sveidqvist 52b1b23d47
Merge pull request #2164 from mermaid-js/dependabot/github_actions/develop/actions/setup-node-2.2.0
Bump actions/setup-node from 1 to 2.2.0
2021-07-15 14:54:54 +02:00
Knut Sveidqvist cd8620cc9d Node switch for e2e builds 2021-07-15 12:27:21 +02:00
dependabot[bot] 27b6845b78
Bump actions/setup-node from 1 to 2.2.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 20:08:14 +00:00
Knut Sveidqvist ea108b7733
Merge pull request #2001 from mermaid-js/dependabot/github_actions/develop/actions/checkout-v2.3.4
Update actions/checkout requirement to v2.3.4
2021-04-25 11:02:33 +02:00
dependabot[bot] cd94bb3f5b
Update actions/checkout requirement to v2.3.4
Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-25 08:43:07 +00:00
dependabot[bot] 94cc7c8256
Bump actions/cache from v1 to v2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-25 08:43:06 +00:00
Knut Sveidqvist c05e3f8fe1 Rename to E2E 2021-01-28 22:39:17 +01:00
Knut Sveidqvist a0c2ffaac4 Adding cypress test from github 2021-01-28 22:36:18 +01:00