2024-12-17 20:20:52 +01:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
2024-12-27 20:32:22 +01:00
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/**'
|
|
|
|
- 'CHANGELOG.md'
|
|
|
|
- 'LICENSE.md'
|
|
|
|
- 'README.md'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/**'
|
|
|
|
- 'CHANGELOG.md'
|
|
|
|
- 'LICENSE.md'
|
|
|
|
- 'README.md'
|
2024-12-17 20:20:52 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-12-27 20:02:08 +01:00
|
|
|
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
2024-12-17 20:20:52 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --verbose --release
|
|
|
|
- name: Run tests
|
|
|
|
run: cargo test --verbose --release
|