mirror of
https://github.com/telemt/telemt.git
synced 2026-05-22 19:51:43 +03:00
Update test.yml
This commit is contained in:
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- run: cargo fmt -- --check
|
- run: cargo fmt -- --check
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Tests
|
# Test
|
||||||
# ==========================
|
# ==========================
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
@@ -61,7 +61,14 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cargo-
|
${{ runner.os }}-cargo-
|
||||||
|
|
||||||
- run: cargo test --verbose
|
- name: Install nextest
|
||||||
|
uses: taiki-e/install-action@nextest
|
||||||
|
|
||||||
|
- name: Build tests
|
||||||
|
run: cargo test --no-run -j $(nproc)
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo nextest run --all-features --no-fail-fast
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Clippy
|
# Clippy
|
||||||
@@ -92,7 +99,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cargo-
|
${{ runner.os }}-cargo-
|
||||||
|
|
||||||
- run: cargo clippy -- --cap-lints warn
|
- run: cargo clippy -j $(nproc) -- --cap-lints warn
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Udeps
|
# Udeps
|
||||||
@@ -123,5 +130,4 @@ jobs:
|
|||||||
- name: Install cargo-udeps
|
- name: Install cargo-udeps
|
||||||
run: cargo install cargo-udeps || true
|
run: cargo install cargo-udeps || true
|
||||||
|
|
||||||
# тоже не валит билд
|
- run: cargo udeps || true
|
||||||
- run: cargo udeps || true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user