2022-01-08 16:39:38 +01:00
|
|
|
name: macOS tests
|
|
|
|
|
2022-02-10 12:09:50 -05:00
|
|
|
on:
|
2022-02-23 11:26:31 -05:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- packages/**
|
|
|
|
- examples/**
|
|
|
|
- src/**
|
|
|
|
- .github/**
|
|
|
|
- lib.rs
|
|
|
|
- Cargo.toml
|
|
|
|
|
2022-02-17 11:19:28 -05:00
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
branches:
|
|
|
|
- master
|
2022-02-10 12:09:50 -05:00
|
|
|
paths:
|
|
|
|
- packages/**
|
|
|
|
- examples/**
|
|
|
|
- src/**
|
|
|
|
- .github/**
|
|
|
|
- lib.rs
|
|
|
|
- Cargo.toml
|
|
|
|
|
2022-01-08 16:39:38 +01:00
|
|
|
jobs:
|
|
|
|
test:
|
2022-02-13 12:41:38 -05:00
|
|
|
if: github.event.pull_request.draft == false
|
2022-01-08 16:39:38 +01: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 15:34:35 -08:00
|
|
|
- uses: actions/checkout@v3
|
2022-01-08 16:39:38 +01:00
|
|
|
- uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: test
|
2022-07-09 15:15:20 -04:00
|
|
|
args: --all --tests
|