Skip to content

Commit

Permalink
Merge pull request #12 from nazar-pc/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
al8n authored Feb 24, 2024
2 parents c2bbc39 + 367118e commit 0d0bb1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: test all features
run: cargo test --all-features
# Run sequentially to avoid race condition around file system size
run: cargo test --all-features -- --test-threads 1

coverage:
name: cargo tarpaulin
Expand Down
4 changes: 2 additions & 2 deletions src/windows/sync_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ mod test {
.read(true)
.write(true)
.create(true)
.open(&path)
.open(path)
.unwrap();

// Multiple exclusive locks fails.
Expand Down Expand Up @@ -102,7 +102,7 @@ mod test {
.read(true)
.write(true)
.create(true)
.open(&path)
.open(path)
.unwrap();

// Open two shared locks on the file, and then try and fail to open an exclusive lock.
Expand Down

0 comments on commit 0d0bb1b

Please sign in to comment.