Skip to content

Commit

Permalink
Test remote testing
Browse files Browse the repository at this point in the history
  • Loading branch information
LokiSharp committed Dec 15, 2023
1 parent 6e0c3f6 commit b51b8af
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,24 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable-${{ matrix.target }}

- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U tmate
- name: SSH connection to Actions
run: |
python -m tmate
- name: Run tests
run: cargo test --all-features



test-macos:
runs-on: macos-latest
steps:
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1588,10 +1588,6 @@ mod test {

assert!(mmap.is_ok());

if let Ok(mmap) = mmap {
std::mem::drop(mmap);
}

let remove_res = fs::remove_file(path.clone());
if remove_res.is_err() {
println!("remove_res: {:?}", remove_res);
Expand Down

0 comments on commit b51b8af

Please sign in to comment.