Compare commits
4
Commits
9aad7b083a
...
v0.8.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18a6d9394c | ||
|
|
9016932547 | ||
|
|
2f7d8f3ca7 | ||
|
|
41efac68ed |
@@ -44,9 +44,6 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
targets: ${{ matrix.platform.target == 'universal-apple-darwin' && 'x86_64-apple-darwin, aarch64-apple-darwin' || matrix.platform.target }}
|
targets: ${{ matrix.platform.target == 'universal-apple-darwin' && 'x86_64-apple-darwin, aarch64-apple-darwin' || matrix.platform.target }}
|
||||||
|
|
||||||
- name: Rust Cache
|
|
||||||
uses: Swatinem/rust-cache@v2
|
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
@@ -69,7 +66,13 @@ jobs:
|
|||||||
CARGO_TARGET_DIR: "${{ runner.temp }}/cargo-target"
|
CARGO_TARGET_DIR: "${{ runner.temp }}/cargo-target"
|
||||||
run: |
|
run: |
|
||||||
cd src-tauri
|
cd src-tauri
|
||||||
cargo test --target ${{ matrix.platform.target }}
|
if [ "${{ matrix.platform.target }}" = "universal-apple-darwin" ]; then
|
||||||
|
cargo test
|
||||||
|
elif [ "${{ matrix.platform.target }}" = "aarch64-apple-darwin" ] && [ "$(uname -m)" != "arm64" ]; then
|
||||||
|
cargo test --no-run --target ${{ matrix.platform.target }}
|
||||||
|
else
|
||||||
|
cargo test --target ${{ matrix.platform.target }}
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Set Release Environment
|
- name: Set Release Environment
|
||||||
id: set_env
|
id: set_env
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ mod tests {
|
|||||||
let pm = ProcessManager::new();
|
let pm = ProcessManager::new();
|
||||||
// Test helper using dummy/mock or direct map operations
|
// Test helper using dummy/mock or direct map operations
|
||||||
{
|
{
|
||||||
let mut stdins = pm.stdins.lock().await;
|
let stdins = pm.stdins.lock().await;
|
||||||
assert!(!stdins.contains_key("test_proc"));
|
assert!(!stdins.contains_key("test_proc"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user