Run E2E more often
This commit is contained in:
parent
8ef2f8c132
commit
2607bc5213
2 changed files with 7 additions and 6 deletions
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */4 * * *'
|
- cron: '0 * * * *'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: e2e-tests
|
group: e2e-tests
|
||||||
|
|
@ -48,4 +48,4 @@ jobs:
|
||||||
cargo run config-e2e.yml --color never &
|
cargo run config-e2e.yml --color never &
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
scripts/e2e.sh 8
|
scripts/e2e.sh 16
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
[](https://github.com/schmelczer/vault-link/actions/workflows/check.yml)
|
[](https://github.com/schmelczer/vault-link/actions/workflows/check.yml)
|
||||||
[](https://github.com/schmelczer/vault-link/actions/workflows/e2e.yml)
|
[](https://github.com/schmelczer/vault-link/actions/workflows/e2e.yml)
|
||||||
[](https://github.com/schmelczer/vault-link/actions/workflows/publish-docker.yml)
|
[](https://github.com/schmelczer/vault-link/actions/workflows/publish-server-docker.yml)
|
||||||
|
[](https://github.com/schmelczer/vault-link/actions/workflows/publish-cli-docker.yml)
|
||||||
[](https://github.com/schmelczer/vault-link/actions/workflows/publish-plugin.yml)
|
[](https://github.com/schmelczer/vault-link/actions/workflows/publish-plugin.yml)
|
||||||
|
|
||||||
## Develop
|
## Develop
|
||||||
|
|
@ -18,7 +19,7 @@
|
||||||
|
|
||||||
- Install [`rustup`](https://rustup.rs): `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
|
- Install [`rustup`](https://rustup.rs): `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
|
||||||
- Install [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer): `curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh`
|
- Install [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer): `curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh`
|
||||||
- `cargo install cargo-insta sqlx-cli cargo-edit`
|
- `cargo install cargo-insta sqlx-cli`
|
||||||
|
|
||||||
### Install Obsidian on Linux
|
### Install Obsidian on Linux
|
||||||
|
|
||||||
|
|
@ -34,7 +35,7 @@ flatpak run md.obsidian.Obsidian
|
||||||
Start the server:
|
Start the server:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo install sqlx-cli cargo-machete cargo-edit
|
cargo install sqlx-cli
|
||||||
cd sync-server
|
cd sync-server
|
||||||
cargo run config-e2e.yml
|
cargo run config-e2e.yml
|
||||||
```
|
```
|
||||||
|
|
@ -68,7 +69,7 @@ scripts/bump-version.sh patch
|
||||||
#### Run E2E tests
|
#### Run E2E tests
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
scripts/e2e.sh
|
scripts/e2e.sh 8
|
||||||
```
|
```
|
||||||
|
|
||||||
And to clean up the logs & database files, run `scripts/clean-up.sh`
|
And to clean up the logs & database files, run `scripts/clean-up.sh`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue