From 8ddb05959a1373573f335c6b798bd343e5af771f Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Sat, 21 Oct 2023 03:09:53 +0900 Subject: [PATCH] =?UTF-8?q?develop=E3=83=96=E3=83=A9=E3=83=B3=E3=83=81?= =?UTF-8?q?=E3=81=A7=E3=81=AE=E3=83=86=E3=82=B9=E3=83=88=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_develop.yml | 18 ++++++++++++++++++ test/testenv/docker-compose.yml | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test_develop.yml diff --git a/.github/workflows/test_develop.yml b/.github/workflows/test_develop.yml new file mode 100644 index 00000000..6e6b5eff --- /dev/null +++ b/.github/workflows/test_develop.yml @@ -0,0 +1,18 @@ +name: Test on misskey/develop + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dart-lang/setup-dart@v1 + - run: ./test/testenv/setup.sh + env: + MISSKEY_IMAGE: misskey/misskey:develop + - run: dart pub get + - run: dart test --test-randomize-ordering-seed=random diff --git a/test/testenv/docker-compose.yml b/test/testenv/docker-compose.yml index b91ba5fe..b2da3523 100644 --- a/test/testenv/docker-compose.yml +++ b/test/testenv/docker-compose.yml @@ -11,12 +11,11 @@ services: - ../:/misskey-test web: - image: misskey/misskey:2023.10.1 + image: ${MISSKEY_IMAGE:-misskey/misskey:latest} restart: always links: - db - redis -# - meilisearch depends_on: db: condition: service_healthy