macos.yml 710 B

12345678910111213141516171819202122232425262728293031323334
  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. JOB:
  17. if: github.event.pull_request.draft == false
  18. test:
  19. name: Test Suite
  20. runs-on: macos-latest
  21. steps:
  22. - uses: actions/checkout@v2
  23. - uses: actions-rs/toolchain@v1
  24. with:
  25. profile: minimal
  26. toolchain: stable
  27. override: true
  28. - uses: Swatinem/rust-cache@v1
  29. - uses: actions-rs/cargo@v1
  30. with:
  31. command: test
  32. args: --features "desktop, ssr, router"