32 lines
597 B
YAML
32 lines
597 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'CHANGELOG.md'
|
|
- 'LICENSE.md'
|
|
- 'README.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'CHANGELOG.md'
|
|
- 'LICENSE.md'
|
|
- 'README.md'
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build
|
|
run: cargo build --verbose --release
|
|
- name: Run tests
|
|
run: cargo test --verbose --release |