macos.yml 593 B

12345678910111213141516171819202122232425262728293031
  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. branches:
  13. - master
  14. jobs:
  15. test:
  16. name: Test Suite
  17. runs-on: macos-latest
  18. steps:
  19. - uses: actions/checkout@v2
  20. - uses: actions-rs/toolchain@v1
  21. with:
  22. profile: minimal
  23. toolchain: stable
  24. override: true
  25. - uses: Swatinem/rust-cache@v1
  26. - uses: actions-rs/cargo@v1
  27. with:
  28. command: test
  29. args: --features "desktop, ssr, router"