File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,17 @@ jobs:
39
39
with :
40
40
command : build
41
41
args : --all-targets
42
- - uses : actions-rs/cargo@v1
42
+ # Run tests
43
+ - name : Run tests
44
+ uses : actions-rs/cargo@v1
45
+ with :
46
+ command : test
47
+ # Run tests enabling the serde feature
48
+ - name : Run url tests with the serde feature
49
+ uses : actions-rs/cargo@v1
43
50
with :
44
51
command : test
45
- # Manually select the features to enable for testing (in addition to default features)
46
- # so unstable features are not included.
47
- args : --features "url/serde"
52
+ args : --manifest-path url/Cargo.toml --features "serde"
48
53
# The #[debugger_visualizer] attribute is currently gated behind an unstable feature flag.
49
54
# In order to test the visualizers for the url crate, they have to be tested on a nightly build.
50
55
- name : Run debugger_visualizer tests
54
59
uses : actions-rs/cargo@v1
55
60
with :
56
61
command : test
57
- args : --test debugger_visualizer --features " url/serde,url/ debugger_visualizer" -- --test-threads=1
62
+ args : --test debugger_visualizer --manifest-path url/Cargo.toml --features " serde,debugger_visualizer" -- --test-threads=1
58
63
59
64
WASM :
60
65
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments