-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test:e2eをlinuxとmacでも動くように #1415
The head ref may contain hidden characters: "\u30C6\u30B9\u30C8\u306Blinux\u3068mac\u3092\u8FFD\u52A0\u3059\u308B"
Conversation
OS="${{ runner.os }}" | ||
TARGET="${OS,,}-cpu" # 小文字にする | ||
OS=$(echo "${{ runner.os }}" | tr "[:upper:]" "[:lower:]") # 小文字にする | ||
TARGET="$OS-cpu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MacOSで動かなかったので修正
(デフォルトのBashのバージョンが低いらしい)
cat $TEMPDIR/target.json | jq -r '.tag_name' | sed -e 's_^_version=_' >> $GITHUB_OUTPUT | ||
echo "version=$(jq -r '.tag_name' $TEMPDIR/target.json)" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ただのリファクタリング
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
マージします!! |
内容
下の課題で、linuxやmac環境でe2eテストが動かないことがあることが分かりました。
e2eテストのみは全OSでやった方が良さそうに思ったので、そうするためのプルリクエストです。
関連 Issue
ref #1413
ref #1414
その他
electronやNode.jsが吸収してくれるようなタスクは1環境のみで良さそう。
electronのbackground.tsなどが絡むタスクはそうではないので全環境で回した方が良さそうかなと。