~repos /rust-embed
git clone https://pyrossh.dev/repos/rust-embed.git
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
e2b52382
—
pyros2097 5 years ago
fix test command
- .github/workflows/test.yml +12 -12
.github/workflows/test.yml
CHANGED
|
@@ -14,15 +14,15 @@ jobs:
|
|
|
14
14
|
- uses: actions/checkout@master
|
|
15
15
|
- name: Run tests
|
|
16
16
|
run: |
|
|
17
|
-
|
|
17
|
+
cargo test --test lib
|
|
18
|
-
|
|
18
|
+
cargo test --test lib --features "debug-embed"
|
|
19
|
-
|
|
19
|
+
cargo test --test lib --release
|
|
20
|
-
|
|
20
|
+
cargo test --test lib --features "compression" --release
|
|
21
|
-
|
|
21
|
+
cargo test --test interpolated_path --features "interpolate-folder-path"
|
|
22
|
-
|
|
22
|
+
cargo test --test interpolated_path --features "interpolate-folder-path" --release
|
|
23
|
-
|
|
23
|
+
cargo build --example basic
|
|
24
|
-
|
|
24
|
+
cargo build --example basic --release
|
|
25
|
-
|
|
25
|
+
cargo build --example actix --features actix
|
|
26
|
-
|
|
26
|
+
cargo build --example actix --features actix --release
|
|
27
|
-
|
|
27
|
+
cargo build --example warp --features warp-ex
|
|
28
|
-
|
|
28
|
+
cargo build --example warp --features warp-ex --release
|