From 119d3fe51f7a9aee9876b0354486bb241ad10d92 Mon Sep 17 00:00:00 2001 From: bit-aloo Date: Fri, 13 Dec 2024 21:00:23 +0530 Subject: [PATCH] use macos-14 as macos runner --- .github/workflows/test.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dd22b31cab..0556c1f200 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,10 +14,10 @@ jobs: strategy: matrix: os: - - macos-latest + - macos-14 - ubuntu-latest include: - - os: macos-latest + - os: macos-14 target: x86_64-apple-darwin - os: ubuntu-latest target: x86_64-unknown-linux-musl @@ -41,7 +41,7 @@ jobs: - name: Roles Integration Tests (MAC) if: matrix.os == 'macos-latest' run: | - sudo cargo test --manifest-path=roles/Cargo.toml --verbose --test '*' -- --nocapture + cargo test --manifest-path=roles/Cargo.toml --verbose --test '*' -- --nocapture - name: Roles Integration Tests (LINUX) if: matrix.os == 'ubuntu-latest' @@ -84,11 +84,11 @@ jobs: - name: Test (MAC) if: matrix.os == 'macos-latest' run: | - sudo cargo test --manifest-path=benches/Cargo.toml - sudo cargo test --manifest-path=common/Cargo.toml - sudo cargo test --manifest-path=protocols/Cargo.toml - sudo cargo test --manifest-path=roles/Cargo.toml - sudo cargo test --manifest-path=utils/Cargo.toml + cargo test --manifest-path=benches/Cargo.toml + cargo test --manifest-path=common/Cargo.toml + cargo test --manifest-path=protocols/Cargo.toml + cargo test --manifest-path=roles/Cargo.toml + cargo test --manifest-path=utils/Cargo.toml - name: Test (LINUX) if: matrix.os == 'ubuntu-latest' @@ -102,7 +102,7 @@ jobs: - name: Property based testing (MAC) if: matrix.os == 'macos-latest' run: | - sudo cargo test --manifest-path=protocols/Cargo.toml --features prop_test + cargo test --manifest-path=protocols/Cargo.toml --features prop_test - name: Property based testing (LINUX) if: matrix.os == 'ubuntu-latest'