dioxus/.github/workflows/macos.yml

44 lines
852 B
YAML
Raw Normal View History

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/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: --features "desktop, ssr, router"