Commit Graph
23 Commits
Author SHA1 Message Date
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