Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:

# 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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

現状 --all-features は動作しないので、我々が利用している features のみ enabled にしてテストするよう変更

10 changes: 6 additions & 4 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
- name: worker_pool
run: cargo run --example worker_pool --features "worker"

- name: web_features
run: cargo run --example web_features --features "web"
## MEMO(ysh): Comment out due to upstream breaking changes
# - name: web_features
# run: cargo run --example web_features --features "web"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking changes の影響で動作しないため、一旦コメントアウト

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

理由をコメントとして残しておくと良さそう?ですかね?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ですね。
9022459
こちらで対応しました!


- name: url_imports
run: cargo run --example url_import --features="fs_import url_import"
Expand Down Expand Up @@ -87,5 +88,6 @@ jobs:
- name: async_eval
run: cargo run --example async_eval

- name: websocket
run: cargo run --example websocket --features="web websocket"
## MEMO(ysh): Comment out due to upstream breaking changes
# - name: websocket
# run: cargo run --example websocket --features="web websocket"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9022459 同上です

4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

# 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"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

現状 --all-features は動作しないので、我々が利用している features のみ enabled にしてテストするよう変更


# Test documentation generation
- name: Test documentation
run: cargo doc --features snapshot_builder
run: cargo doc --features snapshot_builder
43 changes: 43 additions & 0 deletions .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Rust Tests
Copy link
Contributor Author

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 を削除し、本ファイルを新規作成しています


on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
types:
- opened
- synchronize
- reopened

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.88.0

- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2

- name: Run barebones tests (no features)
run: cargo test --no-default-features --lib

- name: Run default tests
run: cargo test --verbose --lib

- name: Run web tests
run: cargo test --features "web" --lib

- name: Run complete tests (all features)
run: cargo test --features "default,snapshot_builder,fs_import,url_import,web,os_exit" --lib
37 changes: 0 additions & 37 deletions .github/workflows/tests.yml

This file was deleted.