Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
run-tests:
if: startsWith(github.head_ref, 'ci-') || github.head_ref == ''
if: contains(github.head_ref, 'macos') || github.head_ref == ''
runs-on: macos-latest

steps:
Expand All @@ -36,10 +36,11 @@ jobs:
- name: Compile
run: cargo build --benches --tests

- name: Run tests
timeout-minutes: 30
run: |
export RUST_BACKTRACE=1
export TEST_GIT=$(which git)
export TEST_GIT_EXEC_PATH=$("$TEST_GIT" --exec-path)
cargo test --workspace
# TODO(#1416): re-enable once tests are passing on Git v2.46+
# - name: Run tests
# timeout-minutes: 30
# run: |
# export RUST_BACKTRACE=1
# export TEST_GIT=$(which git)
# export TEST_GIT_EXEC_PATH=$("$TEST_GIT" --exec-path)
# cargo test --workspace --no-fail-fast
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Compile
run: cargo build --all-targets --workspace

# TODO: re-enable once tests are passing on Git v2.46+
# TODO(#1416): re-enable once tests are passing on Git v2.46+
# - name: Run tests
# timeout-minutes: 30
# run: |
Expand Down
Loading