leptos-use/.github/workflows/tests.yml

44 lines
1 KiB
YAML
Raw Normal View History

2023-07-03 15:16:22 +01:00
on:
pull_request:
2024-07-28 20:02:12 +01:00
branches:
- main
paths:
- "**"
- "!/*.md"
- "!/**.md"
2023-07-03 15:16:22 +01:00
workflow_dispatch:
name: Tests
permissions: write-all
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy, rust-src
- name: Cache
uses: Swatinem/rust-cache@v2
2024-07-28 20:02:12 +01:00
- name: Run tests (general)
2024-07-08 17:10:29 +01:00
run: cargo test --features math,docs,ssr
2024-07-28 20:02:12 +01:00
- name: Run tests (axum) use_cookie
run: cargo test --features math,docs,ssr,axum --doc use_cookie
2024-07-28 20:34:38 +01:00
- name: Run tests (axum) use_locale
run: cargo test --features math,docs,ssr,axum --doc use_locale
2024-07-28 20:02:12 +01:00
- name: Run tests (actix) use_cookie
run: cargo test --features math,docs,ssr,actix --doc use_cookie
2024-07-28 20:34:38 +01:00
- name: Run tests (actix) use_locale
run: cargo test --features math,docs,ssr,actix --doc use_locale