From e7daa4903289d73bfe103d242e19afc87aec53cc Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 23 Sep 2024 14:28:17 +0900 Subject: [PATCH 1/2] feat: add benchmark-large --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/vitest-benchmark-large.ts | 10 ++++++++++ 4 files changed, 14 insertions(+) create mode 100644 tests/vitest-benchmark-large.ts diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 5976c25..883d4ac 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -44,6 +44,7 @@ on: - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large + - vitest-benchmark-large jobs: init: runs-on: ubuntu-latest @@ -116,6 +117,7 @@ jobs: - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large + - vitest-benchmark-large fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index d533be3..8780ee2 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -49,6 +49,7 @@ on: - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large + - vitest-benchmark-large jobs: execute-selected-suite: timeout-minutes: 60 diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 641179e..da988d2 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -55,6 +55,7 @@ jobs: - vitest-browser-examples - vitest-coverage-large - vitest-reporters-large + - vitest-benchmark-large fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/tests/vitest-benchmark-large.ts b/tests/vitest-benchmark-large.ts new file mode 100644 index 0000000..57aafae --- /dev/null +++ b/tests/vitest-benchmark-large.ts @@ -0,0 +1,10 @@ +import { runInRepo } from '../utils' +import { RunOptions } from '../types' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'hi-ogawa/vitest-tests-benchmark-large', + test: 'vitest-ecosystem-ci:test', + }) +} From df6a35186a136242398475fab8bbdc10a1544911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Mon, 23 Sep 2024 09:17:32 +0300 Subject: [PATCH 2/2] fix: switch to vitest-tests repo --- tests/vitest-benchmark-large.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vitest-benchmark-large.ts b/tests/vitest-benchmark-large.ts index 57aafae..9f6a125 100644 --- a/tests/vitest-benchmark-large.ts +++ b/tests/vitest-benchmark-large.ts @@ -4,7 +4,7 @@ import { RunOptions } from '../types' export async function test(options: RunOptions) { await runInRepo({ ...options, - repo: 'hi-ogawa/vitest-tests-benchmark-large', + repo: 'vitest-tests/benchmark-large', test: 'vitest-ecosystem-ci:test', }) }