24 lines
429 B
YAML
24 lines
429 B
YAML
|
name: Test
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ main ]
|
||
|
pull_request:
|
||
|
branches: [ main ]
|
||
|
|
||
|
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
|