-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: make github workflows work #10
Conversation
7fc89a9 to
d072c45
Compare
| # Run tests with all features | ||
| - name: Run complete tests | ||
| run: cargo test --all-features --doc | ||
| run: cargo test --features "default,snapshot_builder,fs_import,url_import,web,os_exit" --doc |
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.
現状 --all-features は動作しないので、我々が利用している features のみ enabled にしてテストするよう変更
| - name: web_features | ||
| run: cargo run --example web_features --features "web" | ||
| # - name: web_features | ||
| # run: cargo run --example web_features --features "web" |
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.
breaking changes の影響で動作しないため、一旦コメントアウト
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.
ですね。
9022459
こちらで対応しました!
| - name: websocket | ||
| run: cargo run --example websocket --features="web websocket" | ||
| # - name: websocket | ||
| # run: cargo run --example websocket --features="web websocket" |
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.
9022459 同上です
| # Lint all the things | ||
| - name: Run clippy | ||
| run: cargo clippy --all-features | ||
| run: cargo clippy --features "default,snapshot_builder,fs_import,url_import,web,os_exit" |
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.
現状 --all-features は動作しないので、我々が利用している features のみ enabled にしてテストするよう変更
| @@ -0,0 +1,43 @@ | |||
| name: Rust Tests | |||
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.
中身は tests.yml と同じです。
既存のワークフローを修正しただけでは、CI が動作しなかったのですが、新規ワークフロー追加する事で動作するようになったので、tests.yml を削除し、本ファイルを新規作成しています
k1LoW
left a comment
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!ありがとうございます!
No description provided.