Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35664bb

Browse files
Merge pull request #4146 from AkihiroSuda/fix-test-templates-sh
hack/test-templates.sh: remove `--cpus 1 --memory 1`
2 parents ad8c8ac + d2a757f commit 35664bb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,9 @@ jobs:
501501
template:
502502
- default.yaml
503503
steps:
504+
- name: "Adjust LIMACTL_CREATE_ARGS"
505+
# --cpus=1 is needed for running vz on GHA: https://github.com/lima-vm/lima/pull/1511#issuecomment-1574937888
506+
run: echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --cpus 1 --memory 1" >>$GITHUB_ENV
504507
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
505508
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
506509
with:

‎hack/test-templates.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ fi
3434
INFO "Validating \"$FILE_HOST\""
3535
limactl validate "$FILE_HOST"
3636

37-
# --cpus=1 is needed for running vz on GHA: https://github.com/lima-vm/lima/pull/1511#issuecomment-1574937888
38-
LIMACTL_CREATE=(limactl --tty=false create --cpus=1 --memory=1)
37+
LIMACTL_CREATE=(limactl --tty=false create)
3938

4039
CONTAINER_ENGINE="nerdctl"
4140

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /