Commit Graph
34 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 8b9cbeb3ae Use a Github bot to comment about visual diff changes
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-08 12:22:57 +01:00
Rūdolfs Ošiņš 742fe4dec0 Update deps
And re-enable Firefox tests.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-06 11:53:55 +01:00
Rūdolfs Ošiņš 2bad94457c Migrate to the heartwood protocol stack
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-03 14:23:46 +01:00
Rūdolfs Ošiņš d71f47a98a Disable Firefox checks until Playwright is fixed
See https://github.com/microsoft/playwright/issues/21145 for more
details.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-27 16:26:10 +01:00
Rūdolfs Ošiņš 6287f1f916 Use radicle-httpd from our public download location
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 16:49:31 +01:00
Rūdolfs Ošiņš 40ad8c1efb Fix clearing snapshot cache
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-30 15:04:57 +01:00
Adam Szkoda 8df7d66419 Download radicle-httpd executable for e2e tests
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-01-09 15:25:12 +01:00
Rūdolfs Ošiņš 972b5ccf20 Remove playwright dependency install steps
It seems like the tests on CI work just fine without installing the
deps. We assume the deps are already installed in the ubuntu image.

This saves build time and our builds still work when the azure servers
that provide the deps are down.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-06 15:25:54 +01:00
Rūdolfs Ošiņš c3c3d06380 Split up visual markdown specs into sections
So that it's easier to spot changes.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
Rūdolfs Ošiņš 57600c8adf Remove *.log files from snapshot artifacts
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņš 5f2cd259a0 Clean up snapshot cache on master
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-19 13:31:54 +01:00
Rūdolfs Ošiņš 41168db8d5 Improve CI workflows
- bump visual spec timeouts
- don't warn if there are no artifacts
- revert unneeded workflow checks
- improve workflow messages

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 23:10:57 +01:00
Sebastian Martinez 65b37b7ef4 Updates some CI packages to v3 and skips test if PR is merged
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 16:16:39 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00
Rūdolfs Ošiņš 2c022a40df Add visual snapshot tests
We use the cache Github action to store snapshots when pushing to master and
then load them in pull requests and run the visual tests against it.

This way we don't have to commit the images to the repository and always
get diffs to the latest master.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš d5f690926e Move build smoke tests to a separate folder
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:06:05 +01:00
Sebastian Martinez fa0007cda4 Run GitHub CI only if push to master or activity on PR branch but not both
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-02 10:51:05 +01:00
Sebastian Martinez 9d3353b4f6 Cache Playwright binaries if possible
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-02 10:48:23 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00
Sebastian Martinez 2c085c92fa Add smoke check for production builds
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-07 17:53:19 +01:00
Rūdolfs Ošiņš 7088a990a2 Use node 18.12.1 LTS everywhere consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 15:23:21 +01:00
Sebastian Martinez d49130163d Force Node CI version to 16.16
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Rūdolfs Ošiņš d0f376cd41 Don't use outdated node on CI
ubuntu-latest already includes a recent node version, node 14 is at its EOL.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-12 15:45:36 +02:00
Sebastian Martinez 17fa47d41b Update GH E2E CI actions
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-09 08:34:10 +02:00
Sebastian Martinez 286cb1cd21 Improve testing suite
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-24 15:05:15 +01:00
Sebastian Martinez 0a2481792c Add unit & integration testing
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-31 16:05:23 +01:00
Alexis Sellier 9a11bb8ebd Combine svelte-check with tsc check
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-21 13:58:46 +02:00
Alexis Sellier bc1b01e09d Fix naming of CI jobs 2021-06-21 11:55:54 +02:00
Sebastian Martinez 40570de998 Fix check and build CI
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:45 -03:00
Sebastian Martinez c8ed1d8034 Add pull_request to CI
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:44 -03:00
Sebastian Martinez 8f3005f244 Add svelte check and build to CI
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:43 -03:00
Alexis Sellier f00d0590a1 Run check-format on PRs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-17 13:21:14 +02:00
Sebastian Martinez 2b5efedfbd Add CI to check code format
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-14 09:59:09 +02:00