-
-
Notifications
You must be signed in to change notification settings - Fork 13
50 lines (47 loc) · 1.05 KB
/
macos.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
name: macOS tests
on:
push:
branches:
- main
paths:
- cli-support/src/**
- cli-support/examples/**
- cli-support/Cargo.toml
- common/src/**
- common/examples/**
- common/Cargo.toml
- macro/src/**
- macro/examples/**
- macro/Cargo.toml
- examples/**
- src/**
- .github/**
- Cargo.toml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
paths:
- cli-support/src/**
- cli-support/examples/**
- cli-support/Cargo.toml
- common/src/**
- common/examples/**
- common/Cargo.toml
- macro/src/**
- macro/examples/**
- macro/Cargo.toml
- examples/**
- src/**
- .github/**
- Cargo.toml
jobs:
test:
if: github.event.pull_request.draft == false
name: Test Suite
runs-on: macos-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v4
- run: cargo test --all --tests