mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 21:45:11 +00:00
run tests in CI
This commit is contained in:
parent
d27965d8b3
commit
cc598384ce
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