Fix CI (#227)
* Update ci.yml Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
@@ -49,11 +49,9 @@ resolver = "2"
|
|||||||
[profile.test]
|
[profile.test]
|
||||||
debug = 1
|
debug = 1
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
split-debuginfo = "unpacked"
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = true
|
strip = true
|
||||||
debug = 1
|
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ mod test {
|
|||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
use std::path;
|
use std::path;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_temporary_text_file() {
|
fn test_temporary_text_file() {
|
||||||
let path_of_temporary_file;
|
let path_of_temporary_file;
|
||||||
@@ -126,7 +127,7 @@ mod test {
|
|||||||
// should have been cleaned up.
|
// should have been cleaned up.
|
||||||
assert!(!path::Path::new(&path_of_temporary_file).exists())
|
assert!(!path::Path::new(&path_of_temporary_file).exists())
|
||||||
}
|
}
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_string_to_file() {
|
fn test_string_to_file() {
|
||||||
let path_of_test_file = "test.file";
|
let path_of_test_file = "test.file";
|
||||||
|
|||||||
Reference in New Issue
Block a user