From cc598384cea0962d05fd0b1e71013d56f0259aa6 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 15 Jun 2024 12:17:44 +0000 Subject: [PATCH] run tests in CI --- .config/ci.yml | 2 +- .gitlab-ci.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/ci.yml b/.config/ci.yml index c48fca49bf..c381d21d92 100644 --- a/.config/ci.yml +++ b/.config/ci.yml @@ -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! diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f725dbf163..84d29851b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: