name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v5
- name: Run tests on default features
run: cargo test --verbose
- name: Run tests with nltk features
run: cargo test --no-default-features --features nltk --verbose
- name: Run tests with constructed features
run: cargo test --no-default-features --features constructed --verbose
- name: Run tests with nltk + constructed features
run: cargo test --no-default-features --features "nltk,constructed" --verbose