Skip to content

Commit c106bf7

Browse files
committed
all targets
1 parent 7fcafcd commit c106bf7

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ jobs:
6060
- name: Build
6161
run: cargo build --workspace --locked
6262

63-
# - name: Test
63+
# - name: fast tests
6464
# run: cargo test --workspace --locked
6565

66-
- name: Test expensive tests
66+
- name: slow tests
67+
env:
68+
DOCSRS_INCLUDE_DEFAULT_TARGETS: true
6769
run: cargo test --workspace --locked -- --ignored
6870

6971
- name: Clean up the database

src/docbuilder/rustwide_builder.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,9 @@ mod tests {
767767
let crate_ = "log";
768768
let version = "0.4.14";
769769
let default_target = "x86_64-unknown-linux-gnu";
770+
771+
assert_eq!(env.config().include_default_targets, true);
772+
770773
// env.fake_release()
771774
// .name(crate_)
772775
// .version(version)
@@ -815,8 +818,6 @@ mod tests {
815818
);
816819

817820
let storage = env.storage();
818-
assert!(storage.exists("asdf")?);
819-
820821
let base = format!("rustdoc/{}/{}", crate_, version);
821822

822823
// default target was build

0 commit comments

Comments
 (0)