test.yml 542 B

1234567891011121314151617181920212223242526
  1. on: [push, pull_request]
  2. name: Tests
  3. jobs:
  4. test:
  5. name: Test ${{ matrix.os }}
  6. runs-on: ${{ matrix.os }}
  7. strategy:
  8. fail-fast: false
  9. matrix:
  10. os: ["macos-latest", "ubuntu-latest", "windows-latest"]
  11. steps:
  12. - name: Checkout sources
  13. uses: actions/checkout@v1
  14. - name: Install stable toolchain
  15. uses: actions-rs/toolchain@v1
  16. with:
  17. toolchain: stable
  18. override: true
  19. - name: Run cargo test
  20. run: cargo test --all-targets --all-features