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:
Amelia Yukii 2024-06-15 12:17:44 +00:00
commit 6c2c5c3112
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,7 @@
#───┘ URL └─────────────────────────────────────────────────────
# 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
# URL SETTINGS AFTER THAT!

View file

@ -11,14 +11,16 @@ testCommit:
variables:
POSTGRES_PASSWORD: ci
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/test.yml
- corepack enable
- corepack prepare pnpm@latest --activate
- git submodule update --init
- pnpm install --frozen-lockfile
- pnpm run build
- pnpm run migrate
- pnpm run --filter='!megalodon' test
- pnpm run --filter=backend lint
- pnpm run --filter=frontend eslint
cache: