Skip to content

Commit 63f51cf

Browse files
authored
Merge pull request #38 from rust-lang/faster-ci
Improve the speed of CI
2 parents 2db06c1 + 970cbf6 commit 63f51cf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# Integration tests are disabled on Windows as they take *way* too
3737
# long to pull the Docker image
3838
- os: windows-latest
39-
test_flags: --skip buildtest --skip integration
39+
test_flags: --skip buildtest --skip integration --skip run_binary_with_same_name_as_file
4040
steps:
4141
- name: Checkout the source code
4242
uses: actions/checkout@master

tests/issue_30.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
use failure::Error;
22
use rustwide::cmd::Command;
3+
use std::fs;
34

45
mod utils;
56

67
#[test]
78
fn run_binary_with_same_name_as_file() -> Result<(), Error> {
8-
use std::fs;
9+
let workspace = crate::utils::init_workspace()?;
910

1011
let tmpdir = tempfile::tempdir()?;
1112
std::env::set_current_dir(&tmpdir)?;
1213
fs::write("true", b"foobar")?;
13-
let workspace = crate::utils::init_workspace()?;
14+
1415
Command::new(&workspace, "true").run()?;
1516

1617
Ok(())

0 commit comments

Comments
 (0)