macos.yml 695 B

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