mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-01 23:27:25 +00:00
merge: run tests in CI (!549)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/549 Approved-by: Tess K <me@thvxl.se> Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
This commit is contained in:
commit
6c2c5c3112
2 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
#───┘ URL └─────────────────────────────────────────────────────
|
#───┘ URL └─────────────────────────────────────────────────────
|
||||||
|
|
||||||
# Final accessible URL seen by a user.
|
# Final accessible URL seen by a user.
|
||||||
url: https://example.tld/
|
url: http://misskey.local
|
||||||
|
|
||||||
# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE
|
# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE
|
||||||
# URL SETTINGS AFTER THAT!
|
# URL SETTINGS AFTER THAT!
|
||||||
|
|
|
@ -11,14 +11,16 @@ testCommit:
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_PASSWORD: ci
|
POSTGRES_PASSWORD: ci
|
||||||
script:
|
script:
|
||||||
- apt-get update && apt-get install -y git wget curl build-essential python3
|
- apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg
|
||||||
- cp .config/ci.yml .config/default.yml
|
- cp .config/ci.yml .config/default.yml
|
||||||
|
- cp .config/ci.yml .config/test.yml
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- corepack prepare pnpm@latest --activate
|
- corepack prepare pnpm@latest --activate
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
- pnpm run build
|
- pnpm run build
|
||||||
- pnpm run migrate
|
- pnpm run migrate
|
||||||
|
- pnpm run --filter='!megalodon' test
|
||||||
- pnpm run --filter=backend lint
|
- pnpm run --filter=backend lint
|
||||||
- pnpm run --filter=frontend eslint
|
- pnpm run --filter=frontend eslint
|
||||||
cache:
|
cache:
|
||||||
|
|
Loading…
Reference in a new issue