From e0db57ab022e171fa2e69e33f0f67d695e1e794d Mon Sep 17 00:00:00 2001 From: Kade Date: Tue, 14 May 2024 12:34:24 -0400 Subject: [PATCH 1/6] fix: update chromedriver download URL --- src/test/webdriver/chromedriver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/webdriver/chromedriver.rs b/src/test/webdriver/chromedriver.rs index f58f242..ac97e05 100644 --- a/src/test/webdriver/chromedriver.rs +++ b/src/test/webdriver/chromedriver.rs @@ -156,7 +156,7 @@ fn fetch_chromedriver_version() -> Result { fn assemble_chromedriver_url(chromedriver_version: &str, target: &str) -> String { format!( - "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/{version}/{target}/chromedriver-{target}.zip", + "https://storage.googleapis.com/chrome-for-testing-public/{version}/{target}/chromedriver-{target}.zip", version = chromedriver_version, target = target, ) From e441467cec7f4a238675da7877ca282adb18f24d Mon Sep 17 00:00:00 2001 From: Kade Robertson Date: Tue, 14 May 2024 12:49:43 -0400 Subject: [PATCH 2/6] test: accept new finish message --- tests/all/log_level.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/all/log_level.rs b/tests/all/log_level.rs index a5ab72b..a283a31 100644 --- a/tests/all/log_level.rs +++ b/tests/all/log_level.rs @@ -16,7 +16,9 @@ fn matches_info() -> impl Predicate + PredicateReflection { } fn matches_cargo() -> impl Predicate + PredicateReflection { - contains("Finished release [optimized] target(s) in ") + contains("Finished release [optimized] target(s) in ").or(contains( + "Finished `release` profile [optimized] target(s) in ", + )) } #[test] From 4af3706c755c0e70cb51759954124d63fa6a5f4d Mon Sep 17 00:00:00 2001 From: Kade Robertson Date: Tue, 14 May 2024 13:07:08 -0400 Subject: [PATCH 3/6] ci: use macos-13 github actions runner --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8745b7..ac39c80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: os: ubuntu-latest rust: stable - build: macos-stable - os: macos-latest + os: macos-13 rust: stable - build: windows-stable os: windows-latest From 9dd1f5b356855728ed5f27942bf4d46c2eeba18f Mon Sep 17 00:00:00 2001 From: Kade Robertson Date: Tue, 14 May 2024 16:26:30 -0400 Subject: [PATCH 4/6] ci: install firefox on macos-latest --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac39c80..4519915 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: os: ubuntu-latest rust: stable - build: macos-stable - os: macos-13 + os: macos-latest rust: stable - build: windows-stable os: windows-latest @@ -30,6 +30,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: nanasess/setup-chromedriver@master + - if: matrix.os == 'macos-latest' + run: brew install --cask firefox - uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} From d20c23d5b3fae22f86602984e6188b7bd388f6c9 Mon Sep 17 00:00:00 2001 From: Kade Robertson Date: Tue, 14 May 2024 16:30:51 -0400 Subject: [PATCH 5/6] ci: cachebust --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4519915..07022c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: - name: Cache dependencies uses: actions/cache@v3 env: - cache-name: cache-dependencies + cache-name: cache-dependencies-bust with: path: | ~/.cargo/.crates.toml From 68e2688cafd4045e2b010f3e5000df4829c2a460 Mon Sep 17 00:00:00 2001 From: Kade Robertson Date: Thu, 23 May 2024 13:40:46 -0400 Subject: [PATCH 6/6] ci: undo cachebust --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 07022c1..4519915 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: - name: Cache dependencies uses: actions/cache@v3 env: - cache-name: cache-dependencies-bust + cache-name: cache-dependencies with: path: | ~/.cargo/.crates.toml