2022-01-08 15:39:38 +00:00
|
|
|
name: macOS tests
|
|
|
|
|
2022-02-10 17:09:50 +00:00
|
|
|
on:
|
2022-02-23 16:26:31 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- packages/**
|
|
|
|
- examples/**
|
|
|
|
- src/**
|
|
|
|
- .github/**
|
|
|
|
- lib.rs
|
|
|
|
- Cargo.toml
|
|
|
|
|
2022-02-17 16:19:28 +00:00
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
branches:
|
|
|
|
- master
|
2022-02-10 17:09:50 +00:00
|
|
|
paths:
|
|
|
|
- packages/**
|
|
|
|
- examples/**
|
|
|
|
- src/**
|
|
|
|
- .github/**
|
|
|
|
- lib.rs
|
|
|
|
- Cargo.toml
|
|
|
|
|
2022-01-08 15:39:38 +00:00
|
|
|
jobs:
|
|
|
|
test:
|
2022-02-13 17:41:38 +00:00
|
|
|
if: github.event.pull_request.draft == false
|
2022-01-08 15:39:38 +00:00
|
|
|
name: Test Suite
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
profile: minimal
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
2022-12-07 03:25:01 +00:00
|
|
|
- uses: Swatinem/rust-cache@v2
|
2022-12-13 23:34:35 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-01-08 15:39:38 +00:00
|
|
|
- uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: test
|
2022-07-09 19:15:20 +00:00
|
|
|
args: --all --tests
|