macos.yml 703 B

123456789101112131415161718192021222324252627282930313233
  1. name: macOS tests
  2. on:
  3. push:
  4. paths:
  5. - packages/**
  6. - examples/**
  7. - src/**
  8. - .github/**
  9. - lib.rs
  10. - Cargo.toml
  11. pull_request:
  12. types: [opened, synchronize, reopened, ready_for_review]
  13. branches:
  14. - master
  15. jobs:
  16. test:
  17. if: github.event.pull_request.draft == false
  18. name: Test Suite
  19. runs-on: macos-latest
  20. steps:
  21. - uses: actions/checkout@v2
  22. - uses: actions-rs/toolchain@v1
  23. with:
  24. profile: minimal
  25. toolchain: stable
  26. override: true
  27. - uses: Swatinem/rust-cache@v1
  28. - uses: actions-rs/cargo@v1
  29. with:
  30. command: test
  31. args: --features "desktop, ssr, router"