-
Notifications
You must be signed in to change notification settings - Fork 2.1k
38 lines (32 loc) · 882 Bytes
/
unit_mac.yml
File metadata and controls
38 lines (32 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Unit - Mac
on:
workflow_call:
inputs:
ref:
description: "Git ref to checkout"
required: false
type: string
permissions:
contents: read
jobs:
unit-mac:
runs-on: macos-14-xlarge
timeout-minutes: 90
steps:
- name: Checkout branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.ref }}
- uses: ./.github/actions/setup
with:
rust: true
cargo-nextest: true
protoc: true
# Some tests e.g. `reader_exits_cleanly_when_writer_done_and_in_flight_acks` are flaky.
- name: Run tests
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: 45
max_attempts: 3
command: make test
- run: make test-behavior